标签:nan int append += NPU http for range put
题目链接:https://nanti.jisuanke.com/t/T1050
用到print字符串小数点方法
n = int(input())
stus = []
num = 0
for i in range(0, n):
temp = int(input())
stus.append(temp)
num += temp
pass
print("%.2f"%(num / n))
标签:nan int append += NPU http for range put
原文地址:https://www.cnblogs.com/coding365/p/12838918.html