摘要: 元组 # 不能被修改 tuple1 = (1, 2, 3, 4) tuple1[1] tuple1[:5] a = (1) # int b = (1,) # tuple # 更新和删除 temp = ('a', 'b', 'c') temp = temp[:2] + ('d',) + temp[2: 阅读全文
posted @ 2020-08-07 23:22 祈欢 阅读(127) 评论(0) 推荐(0)