与或非的简单记忆:
对于NOT 否定一切,比较好记,今天总结or 和 and 的逻辑运算:
另外:
n1,n2 = 3,4
fi n1<n2:
n1,n2, = n2, n1
print(n1,n2)
输出:4 3