How Max Function Works In Python