2022年1月9日
摘要: 1、格式 namelist = [] #定义一个空列表 namelist2 = ["tom", "marry", "Bob"] tlist = [3, 3.22, "Bob"] 可以是不同的数据类型 2、遍历输出列表: namelist2 = ["tom", "marry", "Bob",6,3,1 阅读全文
posted @ 2022-01-09 21:59 桑榆非晚柠月如风 阅读(493) 评论(0) 推荐(0) 编辑