TOPIC

can someone explain to me why displays error?

mribeiro130 asked 2 years ago

I don't understand why it says an error, I've done it and redid it in the VS code and I can't find a solution.

A = float(5.0 * 2)
B = float(6.0 * 3)
C = float(7.0 * 5)
MEDIA = (A + B + C)/10
print('MEDIA = ',MEDIA)

Remember not post solutions. Your post may be reviewed by our moderators.

  • EsraelSousa-IFCE_TIANGUA replied 2 years ago

    Você deve ler a entrada

  • Mayhem replied 7 months ago

    A = float(5.0 * 2)

    B = float(6.0 * 3)

    C = float(7.0 * 5)

    you need "read" this numbers

    for example,

    A = float(input())