diff --git a/modified fizzbuzz b/modified fizzbuzz new file mode 100644 index 00000000..32022d2e --- /dev/null +++ b/modified fizzbuzz @@ -0,0 +1,10 @@ +a = int(input("num: ")) +for i in range(a): + if(i%3==0): + print("fizz") + elif(i%5==0): + print("buzz") + elif((i%3==0) and (i%5==0)): + print("FizzBuzz") + else: + print(i)