結果 : how to get first three characters from a string in python