Skip to content

Instantly share code, notes, and snippets.

@aadibajpai
Created March 18, 2018 17:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aadibajpai/602da3ce7d5a87fc20c4bcb619e4ccff to your computer and use it in GitHub Desktop.
Save aadibajpai/602da3ce7d5a87fc20c4bcb619e4ccff to your computer and use it in GitHub Desktop.
FizzBuzz as short as possible by me
for x in range(1,101):print('Fizz'*(x%3==0)+'Buzz'*(x%5==0) or x) # 65 chars
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment