Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- i = 0
- for i in range (1, 101):
- if i % 3 == 0 and i % 5 == 0:
- print "FIZZ BUZZ"
- elif i % 3 == 0:
- print "FIZZ"
- elif i % 5 == 0:
- print "BUZZ"
- else:
- print i
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement