def cacluate(alist):
blist = [0,0,0,0]
blist[0] = alist[0]
for i in alist:
if blist[1] < i:
blist[1] = i
for i in alist:
blist[3] += i
blist[2] = blist[3]/4
for i in blist:
print(i)
alist = list(map(int,input().split(","))) #输入一行输数
alist.sort()
cacluate(alist)
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)