Advertisement
Guest User

Adam Mirsky

a guest
Sep 15th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. def func(n):
  2.     for i in range(1, n+1):
  3.         if i%2 == 0 and i%7 == 0:
  4.             print("Quant Team")
  5.         elif i%2 == 0:
  6.             print("Quant")
  7.         elif i%7 == 0:
  8.             print("Team")
  9.         else:
  10.             print(i)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement