Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for x in range(1,100):
- if x%3 == 0 and x%5 == 0:
- print "fizzbuzz %d" % x
- continue
- elif x%3 == 0:
- print "Fizz %d" % x
- elif x%5 == 0:
- print "Buzz %d" % x
- print x
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement