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