Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
direct solution in Uncategorized category for Fizz Buzz by timiway
#Your optional code here
#You can import some modules or create additional functions
def checkio(number):
if not number%15:
return "Fizz Buzz"
if not number%3:
return "Fizz"
if not number%5:
return "Buzz"
return str(number)
#Some hints:
#Convert a number in the string with str(n)
#These "asserts" using only for self-checking and not necessary for auto-testing
May 13, 2014