Skip to content

Instantly share code, notes, and snippets.

@mehcode
Created June 3, 2012 05:37
Show Gist options
  • Save mehcode/2862072 to your computer and use it in GitHub Desktop.
Save mehcode/2862072 to your computer and use it in GitHub Desktop.
FizzBuzz
if __name__ == '__main__':
for i in range(1, 101):
print("FizzBuzz"[i * i % 3 * 4 : 8 - -i ** 4 % 5] or i)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment