Program to find average of list

def Average(inp,n):
return sum(inp)/n
inp=list(map(int,input().split()))
n=len(inp)
Average(inp,n)

1 Like

Good Approach, keep it up.

1 Like