下面代码的输出结果是( )
MA = lambda x,y : (x > y) * x + (x < y) * y
MI = lambda x,y : (x > y) * y + (x < y) * x
A = 10
B = 20
Print(MA(a,b),end=" ")
Print(MI(a,b))
A.20 10 B.20 20 C.10 10 D.10 20正确答案A
下面代码的输出结果是( )
MA = lambda x,y : (x > y) * x + (x < y) * y
MI = lambda x,y : (x > y) * y + (x < y) * x
A = 10
B = 20
Print(MA(a,b),end=" ")
Print(MI(a,b))
A.20 10 B.20 20 C.10 10 D.10 20正确答案A