题目内容

以下关于Python分支的描述中,错误的是:

A. Python分支结构使用关键字if、elif和else来实现,每个if后面必须有elif或else
B. 缩进是Python分支结构的语法部分,缩进不会影响分支功能
C. if...else分支结构里还可以再包括分支,即分支的可以嵌套的
D. if语句会判断if后面的逻辑表达式,当值为True时,执行if后的语句块

查看答案
更多问题

在Python中,使用 for ... in 构成的循环不能遍历的数据类型是:

A. 字典
B. 列表
C. 浮点数
D. 字符串

下选项中,错误的是:

A. continue语句用于结束本次循环
B. continue 语句通常与if语句一起使用
C. break语句用于中断循环
D. break语句用于中断程序

以下哪个描述是正确的?

A. break语句用于终止当前循环
B. continue语句用于跳过当前剩余要执行的代码,执行下一次循环
C. break和continue语句通常与if,if ... else 和if ... elif ... else语句一起使用
D. 以上说法都正确

Section CDirections:In this section you will hear a recorded short passage.The passage is printed in the test paper, but with some words or phrases missing. The passage will be read two times. You are required to put the missing words or phrases on the Answer Sheet in order of the numbered blanks according to what you hear.Now the passage will begin.I think we'll begin now. First I'd like to welcome you all and thank you for your coming, especially at such short notice. I know you are all very busy and it's difficult totake time away from your (11)___________ for meetings.As you can see on the agenda,today we will focus on the upcoming(12)___________ First we'll discuss the groups that will be coming in from Germany.Afterthat,we'll discuss the North American tours,(13)___________ by the Asian tours.If time(14)___________, we will also discuss the Australian tours which are booked for early September. Finally, I'm going to request some feedback from all of you (15)___________ last year's tours and where you think we can improve.[音频](Section C: 音频从10分16秒开始,12分51秒结束)

答案查题题库