Loading...
Loading...
Loading...
Two shops list the price of the same product.
Given the two prices, print the larger one. If they are equal, print that price.
Example 1
Input
250 199
Output
250
Example 2
Input
80 80
Output
80
Equal prices: print either.
Try the problem first. Open one hint at a time.
Read each price with its own input() call.
If the first is greater than or equal to the second, print the first. Otherwise print the second.
Write your Python code, run it on the examples and submit it to hidden tests.
Solve in the editor