Algorithms/Find maximum/Python method 1

Python (2.7 and 3.6) source code. The code needs to be reviewed.

Simple example of how to use the function:

Output should be: 555

Another way to implement the algorithm:

Simple example of how to use the function: