Write a Python Program to Calculate and print the Average of Numbers in a Given List


Topic: Write a Python Program to Calculate and print the Average of Numbers in a Given List

Solution

a= [11,22,33,44,55,66,77,88,99]
avg=sum(a)/len(a)
print("Average of elements in the list",round(avg,2))



List all Python Programs