中国大学MOOC: 下面代码的输出结果是( ).MA = lambda x,y:(x > y) * x + (x < y) * yMI = lambda x,y:(x > y) * y + (x < y) * xa = 10b = 20print(MA(a,b))print(MI(a,b))
举一反三
- 下面代码输出结果是()ma=lambda x,y:(x>;y)*x+(x<;y)*ymi=lambda x,y:(x>;y)*y+(x<;y)*xa=10b=20print(ma(a,b))print(mi(a,b)) A: 2010 B: 020 C: 1010 D: 2020
- 下面代码的输出结果是( ).MA = lambda x,y:(x > y) * x + (x [ y) * yMI = lambda x,y:(x ] y) * y + (x < y) * xa = 10b = 20print(MA(a,b))print(MI(a,b)) A: 20,10 B: 10,20 C: 10,10 D: 20,20
- 代码:```MA = lambda x,y : (x > y) * x + (x < y) * yMI = lambda x,y : (x > y) * y + (x < y) * xa = 10b = 20print(MA(a,b),MI(a,b))```上述代码的输出结果是:( ) A: 20 20 B: 10 10 C: 20 10 D: 10 20
- 下面代码的输出结果是(). 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)) print(MI(a,b)) A: 20,10 B: 10,20 C: 10,10 D: 20,20
- 下面代码的输出结果是( ).MA = lambda x,y:(x > y) * x + (x [ y) * yMI = lambda x,y:(x ] y) * y + (x < y) * xa = 10b = 20print(MA(a,b))print(MI(a,b)) A: 20,10 B: 10,20 C: 10,10 D: 20,20