Skip to content

Instantly share code, notes, and snippets.

@thattommyhall
Created January 28, 2010 12:51
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 thattommyhall/288710 to your computer and use it in GitHub Desktop.
Save thattommyhall/288710 to your computer and use it in GitHub Desktop.
for i in range(1, 101):
print("")
if i % 3 == 0:
print ("fizz",end='')
if i % 5 == 0:
print ("buzz",end='')
if (i%3 != 0 and i%5 != 0 ):
print (i,end='')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment