2018年12月13日

python list tuple的增删改查 及嵌套 range()函数

摘要: list[]可以进行 类似于字符串的索引切片等操作 #删 pop() remove() clear() del 函数 #改 #查 查找 只能用index() 不能用find() 否则会报错 AttributeError: 'list' object has no attribute 'find' 用 阅读全文

posted @ 2018-12-13 22:05 老刁_1 阅读(507) 评论(0) 推荐(0) 编辑

导航