单项选择题

如果循环语句中只想结束当前当次循环,需要用()语句。

A.break
B.continue
C.exit语句
D.for循环语句

<上一题 目录 下一题>
热门 试题

单项选择题
下面代码的输出结果是()。for s in HelloWorld :if s== W :continue print(s,end= )

A.Helloorld
B.HelloWorld
C.Hello
D.World

单项选择题
下列程序共输出()个值。1.age =232.start =23.if age %2!=0:4.start =15.for x in range(start,age +2,2):6.print(x)

A.10
B.16
C.12
D.14

相关试题
  • 使用三重引号可以表示多行字符串。
  • 在Python中,字符串可以使用单引号或双引号...
  • 在Python中,列表是不可变序列。
  • 在Python中,字符串是可变的。
  • 在Python中,缩进的空格数是固定的。