LearnPy Hub
← Functions problems
Easy

max3()

Write max3(a, b, c) that returns the largest of three numbers without using max(). Read three integers and print the result.

Input

Three integers.

Output

The largest.

Sample 1

Input
1
2
3
Output
3

Sample 2

Input
9
2
5
Output
9
solution.py
Output appears here
max3() · Python practice problem · LearnPy Hub