2020-05-07
阅读量:
605
Python里and,or,not的运行顺序是什么?

and,or和not的使用方法如上
执行顺序的优先级为:
not>and>or,如果需要优先执行某一部分,可以使用括号






评论(0)


暂无数据
推荐帖子
0条评论
0条评论
3条评论