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)的內(nèi)容,更多相關(guān)內(nèi)容請關(guān)注PHP中文網(wǎng)(www.php.cn)!?

? 版權(quán)聲明
THE END
喜歡就支持一下吧
點贊9 分享