Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Chained conditional expressions solution in Clear category for Fizz Buzz by rossras
def checkio(n: int) -> str:
return 'Fizz Buzz' if n%15==0 else 'Fizz' if n%3==0 else 'Buzz' if n%5==0 else str(n)
April 3, 2020
Comments: