ALGORITHMS and PROGRAMMING :
Write a program to find the average of five numbers by using INPUT and OUTPUT statement
Answers
Answered by
2
Explanation:
python
def average ( lst , n) :
for i in range(0,n):
return ( sum( lst[i] )/ n)
n = int( input())
lst = list(map(int ,input()).split())))[:n]
result = average(lst ,n)
print(result)
Similar questions