摘要: 一、遍历列表 squares=('a', 'b', 'c', 'd') for i in list(squares): print(i) 二、python根据缩进来判断代码与前一个代码行的关系。(要注意缩进问题) for循环中,其下的所有缩进语句都属于for循环。 三、数字列表创建及操作 (1)ra 阅读全文
posted @ 2023-09-13 12:14 MengDi 阅读(14) 评论(0) 推荐(0) 编辑