How Does The Max Function Work In Python