day04_06 短路原则
True和False不能写成ture和false,不然会报错
not not True or False and not True
按照not>and>or来进行括号
(not (not True)) or (False and (not True))
or:有真为真,前面是真,后面就不用管了,成为短路原则
posted on 2017-09-06 23:58 darkalex001 阅读(126) 评论(0) 编辑 收藏 举报
True和False不能写成ture和false,不然会报错
not not True or False and not True
按照not>and>or来进行括号
(not (not True)) or (False and (not True))
or:有真为真,前面是真,后面就不用管了,成为短路原则
posted on 2017-09-06 23:58 darkalex001 阅读(126) 评论(0) 编辑 收藏 举报