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