結果 : print first x characters of string python