[python] How to get char from string by index?