python使用字符串(第三章)
1)字符串---字符串是不可变的。
>>> website[-3:]='com'
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: 'str' object does not support item assignment
上一篇:python列表和元组(第二章)
下一篇:常用网址
python,学习,第三章
管道符与环境变量
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M