Skip to content

Instantly share code, notes, and snippets.

Daniel Stoddart stoddart

Block or report user

Report or block stoddart

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@stoddart
stoddart / fizzbuzz.py
Created Aug 3, 2012
Fizzbuzz in Python
View fizzbuzz.py
for x in range (1, 101):
if x % 3 == 0 and x % 5 == 0:
print "FizzBuzz"
elif x % 3 == 0:
print "Fizz"
elif x % 5 == 0:
print "Buzz"
else:
print x
You can’t perform that action at this time.