会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
保持学习,天天进步
博客园
首页
新随笔
联系
管理
订阅
2018年12月20日
python中的not,and, or
摘要: not 表示 非,and 表示 与 ,or 表示 或 ,他们的优先级 not > and > or 在python中 都是从左到右去判断条件的,例如and ,True and True 或 True and False 先判断左边的条件是否为真, 接下来判断右边的条件是否为真,若右边也为真则完成判断
阅读全文
posted @ 2018-12-20 19:58 平平无奇小辣鸡
阅读(4630)
评论(0)
推荐(0)
编辑
公告