1.index out of range!!!!!
strs = ["flower","flow","flight"]
res = len(strs[index]) ## 要保证strs的index位置不为空才能使用!!!!
## 如,len(strs[0]) 时, 要是strs = [], 会报错index out of range!!!!
2.TypeError: 'str' object does not support item assignment
str1 = "Tomorrow is another day"
str1[10] = 'I' ##报错!!!因为string(区别于list)是一种不可变的数据类型
str1 = str1[:10] + 'I' + str1[10:] ##应该用这种拼接的方式代替