From b96439cce14af247bd7fb515161f20931c97c423 Mon Sep 17 00:00:00 2001 From: lenish Date: Mon, 3 Feb 2020 12:36:33 +0530 Subject: [PATCH 1/2] Fixed the first challenge --- 01_challenge/01_challenge.py | 2 +- 1 file changed, 1 insertion(+), 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) From b11cc3bbab4a7aca51d67b989b5e8a1ce8f0e4f9 Mon Sep 17 00:00:00 2001 From: lenish Date: Mon, 3 Feb 2020 12:37:10 +0530 Subject: [PATCH 2/2] Fixed the first challenge --- 02_challenge/02_challenge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/02_challenge/02_challenge.py b/02_challenge/02_challenge.py index b41cd50..7513999 100644 --- a/02_challenge/02_challenge.py +++ b/02_challenge/02_challenge.py @@ -23,4 +23,4 @@ def fizzbuzz(max_num): #----START OF SCRIPT if __name__=='__main__': - fizzbuzz() + fizzbuzz(100)