Max Compute Function In Python Practice