Min Max dan Fungsi AVG Python

#min,max and avg of A list 
example;
a=eval(input("enter list"))
b=min(a)
c=max(a)
d=sum(a)/len(a)
print('min -',b,'max -',c,'avg -',d)
--------------------------------------------------------------------------------
enter list[1,2,3,4,5,6,7,8,9]
min - 1 max - 9 avg - 5.0
Gr@Y_orphan_ViLL@in##