L=[5,6,8,2,9,4,6,2,7]
sum = 0
for i in range(len(L)):
sum += L[i]
result = sum / len(L)
print(result)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
L=[5,6,8,2,9,4,6,2,7]
sum = 0
for i in range(len(L)):
sum += L[i]
result = sum / len(L)
print(result)