結果 : take first three characters of string python