
Patrick B. answered 02/21/21
Math and computer tutor/teacher
x=input("Please input the 1st value :>")
y=input("Please input the 2nd value :>")
z=input("Please input the 3rd value :>")
avg = ( (float(x) + float(y) + float(z))/3.0)
print("\n")
print("-----------------------------")
print("{:15.1f}".format(round(float(x), 1)))
print("{:15.1f}".format(round(float(y), 1)))
print("{:15.1f}".format(round(float(z), 1)))
print("-----------------------------")
print("{:15.2f}".format(round(float(avg), 2)))