0

(Solved)I need help to solve this code coach.

Pesos=input() Dollars=input() if Pesos > Dollars : print ('Dollars') else : print ('Pesos') I entered this code,its shows 3 correct out of 5. Where I made the mistake?

18th Feb 2020, 2:28 PM
Reptila
3 Antworten
+ 4
You are comparing apples with pears. ;) In the description you will find the exchange rate so you can convert peso to dollar (or dollar to peso).
18th Feb 2020, 2:36 PM
Denise Roßberg
Denise Roßberg - avatar
+ 1
Yes,thats right✌ Thanks
18th Feb 2020, 3:04 PM
Reptila
+ 1
Divide Pesos by 50 first
4th May 2020, 3:31 PM
Epsilon ︻╦̵̵͇̿̿̿̿╤──
Epsilon ︻╦̵̵͇̿̿̿̿╤── - avatar