TOPIC

wrong answer (5%) python

marina stolet asked 1 year ago

A = float(input()) B = float(input()) C = float(input())

MEDIA = ((A2)+(B3)+(C*5))/10

print('MEDIA = {:1}'.format(MEDIA))

also tried

A = float(input()) B = float(input()) C = float(input())

MEDIA = ((A2)+(B3)+(C*5))/10

print('MEDIA = {:.1}'.format(MEDIA))

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

  • Catherine Tostes replied 1 year ago

    Hi! In the calculation try:

    (A * 2 + B * 3 + C * 5) / 10

    In print:

    print('MEDIA = %.1f' %media)