Loading...
Loading...
Loading...
A report compares three monthly sales figures.
Given three integers, print the largest one.
Example 1
Input
40 95 63
Output
95
Example 2
Input
7 7 3
Output
7
Try the problem first. Open one hint at a time.
Start by assuming the first value is the largest.
Compare the largest so far with the second value, then with the third. Do not use max.
Write your Python code, run it on the examples and submit it to hidden tests.
Solve in the editor