Python Program to Calculate the Average of Numbers in a Given List || List || Python
In this we are going to see a basic program to Calculate the Average of Numbers in a Given List in Python Programming Language.

list1 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
print("The List : ", list1)
print("---------------------------------------------------------------")
avg = sum(list1) / len(list1)
print("The Average Of All Elements In The List Is : ", avg)

# Coded By DHIRAJ SHELKE

#ENJOY CODING

Post a Comment

FOR ANY DOUBTS AND ERRORS FEEL FREE TO ASK. YOUR DOUBTS WILL BE ADDRESSED ASAP

Previous Post Next Post