Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Two-liner solution in Clear category for Fizz Buzz by tomkun
def checkio(n):
s = [x for i,x in enumerate(['Fizz', 'Buzz']) if n%(2*i +3)==0]
return ('' if len(s)==1 else ' ').join(s) or str(n)
Nov. 29, 2015
Comments: