Fork me on GitHub

  2020年11月22日
摘要: 一 概念: 元组是有序且不可更改的集合。在 Python 中,元组是用圆括号编写的。 二 使用方法: 1 基本创建: thistuple = ("apple", "banana", "cherry") print(thistuple) 2 访问: thistuple = ("apple", "ban 阅读全文
posted @ 2020-11-22 19:48 虚生 阅读(3629) 评论(0) 推荐(0) 编辑