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..892f687 100644 --- a/01_challenge/01_readme.md +++ b/01_challenge/01_readme.md @@ -0,0 +1 @@ +Fixed the first challenge \ No newline at end of file