Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Simple and Clean solution in Clear category for Fizz Buzz by Brian_Sin
def checkio(x):
if x % 3 == 0 and x % 5 == 0:
return "Fizz Buzz"
if x % 3 == 0:
return "Fizz"
if x % 5 == 0:
return "Buzz"
else:
return str(x)
March 11, 2020