TOPIC

Alguem sabe o que esta dando errado?

psorato asked 2 years ago

number = int(input())

horas_trabalhadas = int(input())

valor_hora = float(input())

salary = round(valor_hora * horas_trabalhadas,2)

print("NUMBER =",number)

print("SALARY = U$",salary)

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

  • ArtCristiano replied 2 years ago

    Ao invés de utilizar o "round", tente formatar os valores de saída com ".format".