Advertisement
T-D-K

Untitled

Jun 29th, 2018
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.07 KB | None | 0 0
  1. a = [1.1, 2, 3, 4, 5, 1.1]
  2. b = a[1::2]
  3. r = sum(b) / len(b)
  4. print(r)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement