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