fizzbuzz

 


    

    


for n in range(1,101):

    if(n%3==0 and n%5==0):

        print("FizzBuzz")

    

    elif(n%5==0):

        print("Buzz")


    elif(n%3==0):

        print("Fizz")

    else:

        print(n)

    

Comments

Popular posts from this blog

Sum of Even Numbers till N

Find the Runner-Up Score!

Print All Substrings