Programming Examples
Python program to find the average of the list of the numbers entered through keyboard
WAP to find the average of the list of the numbers entered through keyboard.
Solution
#WAP to find the average of the list of the numbers entered through keyboard.
n=int(input("Enter the Limit "))
s=0
for i in range(1,n+1):
print("Enter ",i,end='')
a=int(input(" the Number : "))
s=s+a
avg=s/n
print("The Sum of entered numbers : ",s)
print("The Average of entered numbers : ",avg)
Output