Home >Database >Mysql Tutorial >sirius's study notes (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
The above is the content of Sirius’s study notes (2). For more related content, please pay attention to the PHP Chinese website (www.php.cn)!