0%

Python | 运算符

运算符优先级

  • 比较运算符优先级大于逻辑运算符
  • 逻辑型运算符优先从高到低为:
    not>and>or
1
2
x or y and z
## = x or (y and z)
Thank you for your approval.

欢迎关注我的其它发布渠道

Powered By Valine
v1.4.14