输入数字,每次输入完成后输出算数平均数 total = 0 count = 0 while True: number = int(input('请输入数字:')) count = count + 1 total = total +number print(total / count)