会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
F
A man lost oh the way to far ...
博客园
首页
新随笔
联系
管理
订阅
2017年6月19日
Python迭代器
摘要: #author F #迭代器 #可直接作用于for循环的数据结构有: str,list,dict,set,tuple(元组),generate #这些可直接作用于for循环的对象统称为可迭代对象Iterable #判断一个对象是否是可迭代 可循环的 : isinstance() from collections import Iterable print(isinstance([], Ite...
阅读全文
posted @ 2017-06-19 11:32 Bird_getUpEarly
阅读(170)
评论(0)
推荐(0)
编辑
公告