摘要: Python存在一种特殊的数组,这种数组在内存中不能动态修改数组中元素的值,也不能添加元素,我们称作元组。 元组定义: tuple1=(1,2,3) tuple2=1,2,3,4 tuple3=(1,) tuple4=1, 元组添加元素 tuple1+=(12,) #在元组最后添加一个元素12 tu 阅读全文
posted @ 2020-01-28 09:01 承清之父 阅读(252) 评论(0) 推荐(0)