Ugly Python FizzBuzz
f=lambda x,y=1,a='Fizz',b='Buzz':y and ' '.join(f(i+1,0) for i in range(x)) or x%3==x%5==0 and a+b or x%3==0 and a or x%5==0 and b or str(x) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment