Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
conditionals solution in Clear category for Fizz Buzz by Stensen
def checkio(n):
if n % 15 == 0:
return 'Fizz Buzz'
if n % 3 == 0:
return 'Fizz'
if n % 5 == 0:
return 'Buzz'
return str(n)
Sept. 27, 2020
Comments: