2

格式化输出:

 

 

and or not:
优先级()> not > and > or

 

 

 

ps int ----> bool 非零转换成bool True 0 转换成bool 是False

 

 

x or y x True,则返回x (and则相反)

 

 

 

posted @ 2019-10-17 18:02  筱夕夕夕夕夕夕  阅读(86)  评论(0编辑  收藏  举报