int_max

Given three int values, a b c, return the largest.

This exercise was taken from codingbat.com and has been adapted for the Python language. There are many great programming exercises there, but the majority are created for Java.

Test 1

Input:

1
2
3

Output:

3

Test 2

Input:

1
3
2

Output:

3

Test 3

Input:

3
2
1

Output:

3

Test 4

Input:

9
3
3

Output:

9

Test 5

Input:

3
9
3

Output:

9

Test 6

Input:

3
3
9

Output:

9

Test 7

Input:

8
2
3

Output:

8

Test 8

Input:

-3
-1
-2

Output:

-1

Test 9

Input:

6
2
5

Output:

6

Test 10

Input:

5
6
2

Output:

6

Test 11

Input:

5
2
6

Output:

6