题目内容

下面程序段求x和y中的较大数,不正确的是()

A. maxNum=x if x>y else y
B. maxNum=math.max(x,y)
C. if(x>y):maxNum=x else:maxNum=y
D. if(y>=x):maxNum=y maxNum=x

查看答案
更多问题

Python 表达式 [i for i in rang(5) if i%2!=0] 的值为:___________________

当x=0,y=50时,语句z=x if x else y 执行后,z的值是:_______________

你酷爱流行音乐吗?

A. Do you crazy about pop music?
B. Are you crazy about pop music?
C. Are you crazy at pop music?

每周一下午4点来103房间加入我们吧。

A. Join us at 4 p.m. on Mondays at Room 103.
B. join us at 4p.m. at Room 103 on Mondays.
C. Join us at Room 103 at 4 p.m. on Mondays .

答案查题题库