sirius的学习笔记(2)

卫焕
2023-12-01

原文来自网络,侵权删

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

 类似资料: