Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Fizz Buzz by RRRQ
def checkio(number):
d3 = number % 3 == 0
d5 = number % 5 == 0
if d3 and d5:
return "Fizz Buzz"
elif d3:
return "Fizz"
elif d5:
return "Buzz"
return str( number )
Feb. 20, 2014
Comments: