Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
f-sting makes it possible and neat in one line code done this job solution in Clear category for Fizz Buzz by ArchTauruS
"""f-sting makes it possible and neat in one line code done this job
"""
def checkio(number):
return f"{'Fizz' * (number%3 == 0)} {'Buzz' * (number%5 == 0)}".strip() or f'{number}'
Nov. 8, 2018
Comments: