逻辑运算 or nota=2, b=3 (a+b\3) OR (a\b) and not(a>-b) 我看不懂 and not在一起是怎么理解详细的算一下看看

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/29 08:13:04
逻辑运算 or nota=2, b=3    (a+b\3)  OR   (a\b)  and  not(a>-b) 我看不懂 and not在一起是怎么理解详细的算一下看看

逻辑运算 or nota=2, b=3 (a+b\3) OR (a\b) and not(a>-b) 我看不懂 and not在一起是怎么理解详细的算一下看看
逻辑运算 or not
a=2, b=3 (a+b\3) OR (a\b) and not(a>-b)
我看不懂 and not在一起是怎么理解
详细的算一下看看

逻辑运算 or nota=2, b=3 (a+b\3) OR (a\b) and not(a>-b) 我看不懂 and not在一起是怎么理解详细的算一下看看
not 是 求反的意思 ,优先级大于 and 和 or and 的优先级大于or 逻辑运算从优先级高的开始运算,即 (a+b\3) OR (a\b) and not(1) == (a+b\3) OR (a\b) and 0 == (a+b\3) OR 0 == 1 or 0 ==1