sirius的学习笔记(2)

if both values of in a or expression are true ,python will select the first one, and the second one in the and expression. for example:

result = (2 or 3) * (4 and 5)

print result

output 10

 以上就是sirius的学习笔记(2)的内容,更多相关内容请关注PHP中文网(www.php.cn)! 

© 版权声明
THE END
喜欢就支持一下吧
点赞9 分享