题目内容

What is the significance of developing new sources of energy?

查看答案
更多问题

Compared with water vapor, what's the major characteristic of carbon dioxide?

以下程序的输出结果是:t = 10.5def above_zero(t):return t>0

A. True
B. False
C. 10.5
D. 没有输出

以下关于Python的描述中,正确的是:

A. 函数中return语句只能放在函数定义的最后面
B. 定义函数需要使用保留字def
C. 使用函数最主要的作用是复用代码
D. Python函数不可以定义在分支或循环语句的内部

以下关于函数返回值的描述中,正确的是:

A. Python函数的返回值使用很灵活,可以没有返回值,也可以有一个或多个返回值
B. 函数定义中最多包含一个return语句
C. 在函数定义中使用return语句时,至少给一个返回值
D. 函数只能通过print语句和return语句给出运行结果

答案查题题库