码迷,mamicode.com
首页 > 其他好文 > 详细

逻辑判断

时间:2018-06-10 12:18:11      阅读:119      评论:0      收藏:0      [点我收藏+]

标签:nbsp   bsp   color   int   and   print   逻辑   class   col   

print(1,6 or 2 > 1)
print(2,3 or 2 < 1)
print(3,0 or 5 < 4)
print(4,5 < 4 or 3)
print(5,2 > 1 or 6)
print(6,3 and 2 > 1)
print(7,0 and 3 > 1)
print(8,2 > 1 and 3)
print(9,3 > 1 and 0)
print(10,3 > 1 and 2 or 2 < 3 and 3 and 4 or 3 > 2)

 

逻辑判断

标签:nbsp   bsp   color   int   and   print   逻辑   class   col   

原文地址:https://www.cnblogs.com/npdpx/p/9162118.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!