TEMA
não entendo qual o erro
lgrebelatto preguntado 3 years ago
A = None B = None C = None MEDIA = None
def read_numeric(): try:
read for Python 2.x
return float(raw_input())
except NameError:
read for Python 3.x
return float(input())
A = "{:0.1f}".format((read_numeric())) B = "{:0.1f}".format((read_numeric())) C = "{:0.1f}".format((read_numeric())) MEDIA = (("{:0.1f}".format(A)) 2 + (("{:0.1f}".format(B)) 3 + ("{:0.1f}".format(C)) * 5)) / 10 print(str("MEDIA = ") + str("{:0.1f}".format(MEDIA)))
estou fazendo pelo modo de blocos,mas ele não executa corretamente de maneira alguma alguem tem alguma dica ?