关于python短路运算的小问题
def a():
print "A"
return []
def b():
print "B"
return []
def c():
print "C"
return 1
def d():
print "D"
return[]
def e():
print "E"
return 1
def f():
print"F"
return 1
def g():
print "G"
return []
def h():
print "H"
return 1
if a() and b() and c() and d() or e() and f() and g() or h():
print "OK"
为什么返回是的A E F G H OK
而不是 A E F H OK