Skip to content

Instantly share code, notes, and snippets.

@natw
Created November 15, 2012 16:22
Show Gist options
  • Star 27 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save natw/4079502 to your computer and use it in GitHub Desktop.
Save natw/4079502 to your computer and use it in GitHub Desktop.
best fizzbuzz
import random
for i in range(0, 100):
if not i % 15:
random.seed(1178741599)
print [i+1, "Fizz", "Buzz", "FizzBuzz"][random.randint(0,3)]
@parkeristyping
Copy link

import requests
print requests.get("https://s3.amazonaws.com/fizzbuzz/output").content

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment