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

outp

ut 10

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