WAP to calculate the average of given list of numbers.
L = [10,20,30,40,50] using python
Answers
Answered by
1
Answer:
Hey this is in python...
nums = [10, 20, 30, 40, 50]
sum = sum(nums)
length = len(nums)
avg = sum/length
print("Average = ", avg)
# HOPE THIS HELPS!!
Similar questions
Computer Science,
2 months ago
Math,
2 months ago
Hindi,
2 months ago
Math,
11 months ago
History,
11 months ago