From 6d7cf477f988a1e4eb841758e7abc143315b5c22 Mon Sep 17 00:00:00 2001 From: helloshanmugam <71744299+helloshanmugam@users.noreply.github.com> Date: Mon, 1 Nov 2021 09:50:43 -0400 Subject: [PATCH] Fixed the first challange --- 01_challenge/01_challenge.py | 2 +- 01_challenge/01_readme.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/01_challenge/01_challenge.py b/01_challenge/01_challenge.py index 2d40fa5..f856397 100644 --- a/01_challenge/01_challenge.py +++ b/01_challenge/01_challenge.py @@ -24,7 +24,7 @@ def fizzbuzz(max_num): # % or modulo division gives you the remainder if i%num1==0 and i%num2==0: print(i,three_mul+five_mul) - elif i%num1=0: + elif i%num1==0: print(i,three_mul) elif i%num2==0: print(i,five_mul) diff --git a/01_challenge/01_readme.md b/01_challenge/01_readme.md index e69de29..decd851 100644 --- a/01_challenge/01_readme.md +++ b/01_challenge/01_readme.md @@ -0,0 +1 @@ +Fixed the syntax error