Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Fizz Buzz by m.dziardziel
#Your optional code here
#You can import some modules or create additional functions
def checkio(number):
if int(number%3)==0 and int(number%5)==0:
number="Fizz Buzz"
elif int(number%3)==0:
number="Fizz"
elif int(number%5)==0:
number="Buzz"
return str(number)
#Some hints:
#Convert a number in the string with str(n)
Oct. 26, 2016