a=int( input())
b=int( input())
c=int( input())
print("{},{:.2f}".format(a+b+c,(a+b+c)/3))

更多推荐

编程从键盘读入3个整数,输出它们的和与平均值。其中,平均值保留2位小数。(python)