Advertisement
Serafim_

Массивы

Oct 20th, 2017
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1. a=[]
  2. c=[]
  3. summa=[]
  4. for i in range (2,20,2);
  5.     a.append(i-1)
  6.     c.append(i)
  7.     summa.append(a[-1]+c[-1])
  8.  
  9. print c
  10. print a
  11. print summa
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement