redd 發表於 2016-9-19 16:44:07

not and or

Boolean operators aren't just evaluated from left to right.

[*]not is evaluated first;
[*]and is evaluated next;
[*]or is evaluated last.
For example, True or not False and False returns True.

頁: [1]
查看完整版本: not and or