第三章测试
1.Which one description of condition in the followings is correct? ( )
A:The condition 35<=45<75 is legal, and the output is False B:The condition 24<=28<25 is legal, and the output is True C:The condition 24<=28<25 is illegal D:The condition 24<=28<25 is legal, and the output is False
答案:D
2.The output of the following program is? (   )
A:t B:python C:None D:Python 3. for var in ___: (   ) 
A:[1,2,3] B:"Hello" C:13.5 D:range(0,10) 4.After the following program is executed, the value of s is?(   )
A:47 B:9 C:19 D:46 5.Which is the output of the following code?a = 30b = 1if a >=10:a = 20elif a>=20:a = 30elif a>=30:b = aelse:b = 0print("a=",a,"b=",b) ( )
A:a=30, b=1 B:a=20, b=20 C:a=30, b=30 D:a=20, b=1

温馨提示支付 ¥3.00 元后可查看付费内容,请先翻页预览!
点赞(6) dxwkbang
返回
顶部