Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Chetan Nama - SIF Challenge
- def print_number_loop(n):
- for i in xrange(1,n+1):
- if i%2 == 0 and i%7 == 0:
- print "Quant Team"
- if i%2 == 0 and i%7 != 0:
- print "Quant"
- if i%2 != 0 and i%7 == 0:
- print "Team"
- if i%2 != 0 and i%7 != 0:
- print i
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement