会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
coldplaycode
博客园
首页
新随笔
联系
订阅
管理
2019年6月10日
python基础内置函数
摘要: #取绝对值 #print(abs(-1)) #对序列中的元素进行bool运算,如果可迭代对象为空也返回True # print(all((1,23,))) # print(all({"name":None})) # print(all('')) #对序列中的元素进行bool运算,如果可迭代对象中有一个为真,返回True # print(any([0,1,2,3])) # print(an...
阅读全文
posted @ 2019-06-10 07:39 coldplaycode
阅读(154)
评论(0)
推荐(0)
编辑
公告
coldplaycode