摘要: 元组(tuple)类型和函数 题目1:tuple1 = ("Python","java",20,20.1) print(tuple1[2]) # 通过索引取20的值 del(tuple1) # 删除整个元组 函数 题目2:tuple1 = (20,30,40,50) len(tuple) # 统计元 阅读全文
posted @ 2021-01-06 23:22 博主!你好 阅读(545) 评论(0) 推荐(0)