A Program that prints the numbers from 1 to 100

Cai Gengyang gengyangcai at gmail.com
Sat Nov 14 12:34:22 EST 2015


I want to write a program in Python that does this ----

"Write a program that prints the numbers from 1 to 100. But for multiples of three print "Fizz" instead of the number and for the multiples of five print "Buzz". For numbers which are multiples of both three and five print "FizzBuzz"."

How do I go about doing it ?



More information about the Python-list mailing list