-5
Create a program that asks for the amount of US$ and the fee and displays the amount of R$.
dolar = float(input("Informe a quantidade de dólar para conversão: US$ "))
contaçao = float(input ("Informe o valor da cotação do dólar: R$ "))
conversao = float(input(("A quantidade de dólar convertido em real é: R$ ",conversao))
print (dolar*contacao)
I need to do it in Python.
what’s going wrong here
– William Martins
What was the error message? What did you understand when you read such a message?
– Woss
How about using a standardized nomenclature?
contacao
andcontaçao
are distinct words. You should use only one name to refer to the dollar’s quotation value– Jefferson Quesado
What is your intention in the line where you read the variable
conversao
? I found it confusing you use a read command to write the supposed response of converting dollars into real– Jefferson Quesado