摘要: 1. 概念: 区别在于对象中的元素是否可变 python内置的一些类型中 可变对象: list dict set 不可变对象: tuple string int float bool # 可变对象 >>> a = [1, 2, 3] >>> a[1] = 4 >>> a [1, 4, 3] # 不可 阅读全文
posted @ 2022-03-13 03:02 zed99 阅读(66) 评论(0) 推荐(0) 编辑