range(100)相当于产生了一个几到几的列表?

python2-lesson09

Quiz
•
Computers
•
2nd - 12th Grade
•
Medium

hang zheng
Used 60+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
0-99
1-100
1-99
0-100
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
for i in range(10,20):
print(i)
第一次循环,i取得的值应该是?
1
2
0
10
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
for i in range(5,10):
print(123)
上面的for循环会循环执行多少次?
4次
6次
5次
10次
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
continue和break区别是什么?
continue是中断某一次循环,break是中断整个循环
break是中断某一次循环,continue是中断整个循环
都是中断某一次循环
都是中断整个循环
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
运行上述代码,程序会输出多少行123?
无限行,一直不停的输出
程序会报错
一行都不输出
输出123行
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
运行上述代码,程序会输出几行111
10行
2行
3行
0行
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
运行上图中的代码,最后一行输出的内容是?
1000
1001
999
0
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
顺序结构复习

Quiz
•
10th Grade
14 questions
网络与通讯2

Quiz
•
10th Grade - University
11 questions
2024年编程语言总结

Quiz
•
9th - 12th Grade
16 questions
S10.5+10.6 通讯媒介传输装置+网络架构

Quiz
•
11th Grade
10 questions
python2-lesson10

Quiz
•
2nd - 12th Grade
15 questions
极客争霸赛-第四回合

Quiz
•
10th Grade
15 questions
网络与通讯

Quiz
•
12th Grade
18 questions
S08.2 作业系统

Quiz
•
11th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
12 questions
Dividing Fractions

Quiz
•
6th Grade
9 questions
1. Types of Energy

Quiz
•
6th Grade