Coursera课程Python for everyone:chapter5
2016-02-17 11:13
369 查看
Chapter 5
10 试题This loop will run forever
The print 'All done' statement should be indented four spaces
There should be no colon on the while statement
while is not a Python reserved word
Jumps to the "top" of the loop and starts the next iteration
Exits the currently executing loop
Exits the program
Resets the iteration variable to its initial value
Exits the program
Jumps to the "top" of the loop and starts the next iteration
Resets the iteration variable to its initial value
Exits the currently executing loop
5
0
15
10
friend
Glenn
Sally
friends
Compute the average of the elements in a list
Find the smallest item in a list
Sum all the elements of a list
Count all of the elements in a list
-1
74
42
3
Is true if the smallest variable has a value of -1
matches both type and value
The if statement is a syntax error
Looks up 'None' in the smallest variable if it is a string
indef
while
break
for
def
0
This is an infinite loop
5
1
相关文章推荐
- SQL Server 作业批量停止
- SQL2008定时任务作业创建教程
- 作业
- OS的处理机调度层次-01
- Linux系统使用crontab命令实现计划任务
- 初来宝地
- CFG桩施工组织设计
- 求助啊有会做网页的进
- 苦恼~
- 哪位仁兄帮我编译以下程序阿?
- e路通电子传真(实现企业传真无纸化办公)beta版震撼发布
- [Oracle Client and Net Service]Oracle Client安装及Net Service的配置
- 利用OMS自带工具做Oracle增量备份与恢复
- 最美又最遥远的回忆
- 误打误撞进了这里
- 求高人帮忙呀
- 成功的部门经理一周速成(转载)
- 进程的问题
- 我要努力!!!
- 教出一个优秀的女儿