結果 : how to get first 3 characters of string in python