第三章测试1.Which one description of condition in the followings is correct? ( )
A:The condition 24<=28<25 is legal, and the output is False
B:The condition 35<=45<75 is legal, and the output is False
C:The condition 24<=28<25 is illegal
D:The condition 24<=28<25 is legal, and the output is True
答案:A
2.
The output of the following program is? ( )
A:Python
B:None
C:python
D:t
3.
for var in ___: ( )
A:range(0,10)
B:13.5
C:[1,2,3]
D:"Hello"
4.
After the following program is executed, the value of s is?( )
A:19
B:47
C:46
D:9
5.
Which is the output of the following code?a = 30
b = 1
if a >=10:
a = 20
elif a>=20:
a = 30
elif a>=30:
b = a
else:
b = 0
print("a=",a,"b=",b) ( )
A:a=20, b=20 B:a=30, b=30 C:a=20, b=1 D:a=30, b=1
温馨提示支付 ¥3.00 元后可查看付费内容,请先翻页预览!