标签:
We can store strings in variable as a list of charactersvar = "this is a string"
we can refer part of the string by
print(var[0:5])
[python]Substring
原文地址:http://www.cnblogs.com/lmliu/p/5560445.html