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

原文地址:https://www.cnblogs.com/siriuswang/p/3681418.html