('P', 'y', 't', 'h', 'o', 'n')4.5.1.4 元组的拼接和重复
Traceback (most recent call last):要生成不同的元组,应新建一个元组:
File "C:\Program Files\Python3102\lib\code.py", line 90, in runcode
exec(code, self.locals)
File "", line 1, in
TypeError: 'tuple' object does not support item assignment
('J', 'u', 'p')4.5.4 元组的删除
('t', 'u', 'p', 'y')
('t', 'p')4.5.5 元组的方法
欢迎光临 IT评测·应用市场-qidao123.com (https://dis.qidao123.com/) | Powered by Discuz! X3.4 |