Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = -50
- while a <= 378:
- if a % 3 == 0 and a % 7 == 0:
- print('foobar')
- elif a % 3 == 0:
- print('foo')
- elif a % 7 == 0:
- print('bar')
- else:
- print(a)
- a += 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement