for i in [] or [1,2,3]:
print(i)
将会输出1,2,3
for i in [1,2,3] or []
print(i)
将会输出1,2,3
for i in [1,2,3] and []:
print(i)
将会输出空值
for i in [4,5,6] or [1,2,3]:
print(i)
将会输出4,5,6
for i in [4,5,6] and [1,2,3]:
print(i)
将会输出1,2,3