Max Compute Function In Python Programming