2 > 1 and 3 < 4 or 4 > 5 and 2 < 1

a,b,c,d,e=1,2,3,4,5
m = b >a and c < d
n = d > e and b < a
y = m or n 
info = '''
m is %s
n is %s
y is %s
m is True
n is False
y is True
''' %(m,n,y)
print(info)

猜你喜欢

转载自www.cnblogs.com/zzz233/p/9950276.html