Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = [1.1, 2, 3, 4, 5, 1.1]
- b = a[1::2]
- r = sum(b) / len(b)
- print(r)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement