結果 : extract a character from a string in python