Computer Science, asked by abhinavsingh7124, 4 months ago

WAP to calculate the average of given list of numbers.

L = [10,20,30,40,50] using python​

Answers

Answered by gaganadithyareddy9
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