SHARE
TWEET

Untitled

a guest Feb 25th, 2020 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. print('2.1')
  2. series = [i for i in range(1,16) if (i%2 != 0) & (i%3 != 0)]
  3. print(series)
  4. print('2.2')
  5. min = 1
  6. max = 100
  7. while minimum<=maximum:
  8.     sum = 0
  9.     sum = minimum + sum
  10.     minimum = minimum + 1
  11. print(sum)
  12. print('2.3')
  13. for i in range(1,11):
  14.     for j in range(1,11):
  15.         print("%i X %i = %i"%(i,j,i*j))
  16. print('2.4')
  17. for i in range (1,101):
  18.     b = 0
  19.     b += 1/i
  20. print('b_100:',b)
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