(Solved)I need help to solve this code coach. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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 Answers
+ 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