結果 : check for end of line python