Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am natw on github.
  • I am natw (https://keybase.io/natw) on keybase.
  • I have a public key ASBT7ion3qJJS_tc-rEQ2VWdnAtSrH-bM8JNJjFtap1lXQo

To claim this, I am signing this object:

@natw
natw / fizzbuzz.py
Created November 15, 2012 16:22
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)]