为什么不'example'[999:9999]导致错误?既然'example'[9]做,什么是其背后的动机是什么?
'example'[999:9999]
'example'[9]
从这种行为我可以假设'example'[3],基本上/内部,不一样'example'[3:4],即使两者都产生相同的'm'字符串.
'example'[3]
'example'[3:4]
'm'
python string substring
python ×1
string ×1
substring ×1