Advertisement
Unchpokable

Untitled

Feb 27th, 2020
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. input_list = []
  2.  
  3. for i in range(20):
  4.     input_list.append(int(input()))
  5. summ = 0
  6. for index in range(1, len(input_list), 2):
  7.     summ += input_list[index]
  8. print(summ)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement