結果 : max length function python