Computer Science, asked by abdulsumear7362, 3 months ago

list=[1,2,3,4,5,6,7,8,9,10] I=mean(list[1::2] print(I)

Answers

Answered by rajukancharla21
1

Answer:

6

Explanation:

list[1::2] = start from index 1 with step 2

means Indexes = 1,3,5,7,9....

list[1::2] = [ 2, 4, 6, 8, 10]

means = sum(list ) / len (list) = 30/5 = 6

hope it clear

Similar questions