SHARE
TWEET

sif

a guest Sep 15th, 2019 91 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Patrick Cao
  2.  
  3. def quantteam(n):
  4.     for i in range(1, n + 1):
  5.  
  6.         if i % 2 != 0 and i % 7 != 0:
  7.             print(i)
  8.         else:
  9.             if i % 2 == 0:
  10.                 print("Quant", end='')
  11.             if i % 7 == 0:
  12.                 print ("Team", end='')
  13.             print()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top