Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Uncategorized category for Fizz Buzz by Nuszwkartlo
#Your optional code here
#You can import some modules or create additional functions
def checkio(number):
if (number % 3) == 0 and (number % 5) ==0:
return 'Fizz Buzz'
elif (number % 3) == 0 and (number % 5) !=0:
return 'Fizz'
elif (number % 3) != 0 and (number % 5) ==0:
return "Buzz"
return str(number)
Nov. 8, 2015