Advertisement
Guest User

Untitled

a guest
May 23rd, 2015
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. i = 0
  2.  
  3. for i in range (1, 101):
  4. if i % 3 == 0 and i % 5 == 0:
  5. print "FIZZ BUZZ"
  6. elif i % 3 == 0:
  7. print "FIZZ"
  8. elif i % 5 == 0:
  9. print "BUZZ"
  10. else:
  11. print i
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement