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)!