会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Carl39
博客园
首页
新随笔
联系
订阅
管理
2020年7月8日
【Python基础知识】(三)遍历列表、切片和元组
摘要: 遍历列表(for循环) 1、使用for循环打印列表中的元素 magicians = ['alice', 'david', 'carolina'] for magician in magicians: print(magician) 输出为: alice david carolina (1)临时变量m
阅读全文
posted @ 2020-07-08 10:39 Carl39
阅读(877)
评论(0)
推荐(0)
编辑
公告