Advertisement
maissiuk

1_1

Dec 12th, 2019
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. for value in range (-50,379):
  2.     if value %3 == 0 and value %7 == 0:
  3.         print ('foobar')
  4.     elif value %3 == 0:
  5.         print ('foo')
  6.     elif value %7 == 0:
  7.         print ('bar')
  8.     else:
  9.         print (value)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement