下面定义的自定义函数代码,语法错误的是( )。 A: def m(n): return n*2m("123") B: def m(n,y): z=n*yprint(z) C: def m(n,y): return n*ym("123",2) D: def m(n,y): n*yprint(m("123",2))
下面定义的自定义函数代码,语法错误的是( )。 A: def m(n): return n*2m("123") B: def m(n,y): z=n*yprint(z) C: def m(n,y): return n*ym("123",2) D: def m(n,y): n*yprint(m("123",2))
【单选题】下述代码的返回结果是def fun(k): y = 2*k+k**2 return yprint(fun(3)) A.12 B.13 C.14 D.15
【单选题】下述代码的返回结果是def fun(k): y = 2*k+k**2 return yprint(fun(3)) A.12 B.13 C.14 D.15
1.以下“if-elif-else”程序正确的是() A: if x>;yprint(x)elif y>;zprint(y)print(z) B: if x>;y:print(x)elif y>;z:print(y)else:print(z) C: if x>;y:print(x)elif x>;y:print(y)else:print(z) D: if x>;yprint(x)elif y>;zprint(y)elseprint(z)
1.以下“if-elif-else”程序正确的是() A: if x>;yprint(x)elif y>;zprint(y)print(z) B: if x>;y:print(x)elif y>;z:print(y)else:print(z) C: if x>;y:print(x)elif x>;y:print(y)else:print(z) D: if x>;yprint(x)elif y>;zprint(y)elseprint(z)
1