TOPIC

(wrong answer 10%)Help to understand/Ajuda

Fernanda asked 1 year ago

The code below returns the right answer, but it has been evaluated as wrong by 10%. Can anyone help me understand why? O código abaixo retorna o valor correto, conforme solicitado no enunciado, entretanto recebo a avaliação de que está errado por 10%, alguém sabe porque?

Many thanks in advance

tempo = float(input()) velocidade = float(input()) distancia = velocidade*tempo kmAutomovelLitro = 12.0 consumo = round(distancia/kmAutomovelLitro,3) print(consumo)

This topic has not been answered yet. Be the first!

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