store the value in std and write a program to find their sum and average;
92, 25, 76, 56, 90, 97, 74, 34, 62, 61
Answers
Answered by
1
Answer:
Hey this is in python...
std = [92, 25, 76, 56, 90, 97, 74, 34, 62, 61]
sum = 0
count = len(std)
for i in std:
sum+=i
avg = sum/count
print("Sum of elements = ", sum)
print("Average of elements = ", avg)
# From next time please mention language
# HOPE THIS HELPS!!
Similar questions