APP下载
首页
>
财会金融
>
宏观经济学选择题
搜索
宏观经济学选择题
题目内容
(
填空题
)
136. ( )编写一个函数,该函数能比较3个数大小并返回最小数

答案:简答题

宏观经济学选择题
3. (多选题)输入一个整数,计算这个数的2次方并输出,正确的是:
https://www.shititong.cn/cha-kan/shiti/000dded1-b61d-b60c-c01a-2cf5d6189000.html
点击查看题目
143. (判断题)elif可以单独使用。
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-d41c-c01a-2cf5d6189000.html
点击查看题目
127. (单选题)写出下面代码的运行结果。Plain Textdef Sum(a, b=3, c=5):print(a,b,c)Sum(a=8, c=2)
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-b37a-c01a-2cf5d6189000.html
点击查看题目
42. (单选题) 能产生元素为0-9的平方的列表推导式为:
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-0932-c01a-2cf5d6189000.html
点击查看题目
87. (单选题)在Python语言中,可以作为源文件后缀名的是( )
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-663a-c01a-2cf5d6189000.html
点击查看题目
147. (判断题)Python中单个字符也属于字符串类型
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-dc39-c01a-2cf5d6189000.html
点击查看题目
93. (单选题)下列语句中,()在Python中是非法的。
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-71c1-c01a-2cf5d6189000.html
点击查看题目
138. ( )存款翻倍问题:1万本金,年利率为0.0325,问本息多少年能翻倍?
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-ca1e-c01a-2cf5d6189000.html
点击查看题目
110. (单选题)字符串'Hi,Andy'中,字符'n'对应的下标位置为( )
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-9407-c01a-2cf5d6189000.html
点击查看题目
121. (单选题)Python内置函数()(可以返回列表、元组、字典、集合、字符串以及range对象中元素个数。
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-a806-c01a-2cf5d6189000.html
点击查看题目
首页
>
财会金融
>
宏观经济学选择题
题目内容
(
填空题
)
手机预览
宏观经济学选择题

136. ( )编写一个函数,该函数能比较3个数大小并返回最小数

答案:简答题

分享
宏观经济学选择题
相关题目
3. (多选题)输入一个整数,计算这个数的2次方并输出,正确的是:

A. x = int(input())print(x ^ 2)

B. x = int(input())print(x * 2)

C. x = int(input())print(x ** 2)

D. x = int(input())print(x * x)

https://www.shititong.cn/cha-kan/shiti/000dded1-b61d-b60c-c01a-2cf5d6189000.html
点击查看答案
143. (判断题)elif可以单独使用。

A.   对

B.   错

https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-d41c-c01a-2cf5d6189000.html
点击查看答案
127. (单选题)写出下面代码的运行结果。Plain Textdef Sum(a, b=3, c=5):print(a,b,c)Sum(a=8, c=2)

A.   8 2

B.   8,2

C.   8 3 2

D.   8,3,2

解析:答案解析:

https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-b37a-c01a-2cf5d6189000.html
点击查看答案
42. (单选题) 能产生元素为0-9的平方的列表推导式为:

A. [x * 2 for x in range(10)]

B. [x * x for x in range(10)]

C. (x * x for x in range(10))

D. {x * x for x in range(10)}

https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-0932-c01a-2cf5d6189000.html
点击查看答案
87. (单选题)在Python语言中,可以作为源文件后缀名的是( )

A. python

B. pdf

C. py

D. pyc

解析:答案解析:

https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-663a-c01a-2cf5d6189000.html
点击查看答案
147. (判断题)Python中单个字符也属于字符串类型

A.   对

B.   错

https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-dc39-c01a-2cf5d6189000.html
点击查看答案
93. (单选题)下列语句中,()在Python中是非法的。

A. x=y=z=1

B. x=(y=z+1)

C. x,y=y,x

D. x+=y

https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-71c1-c01a-2cf5d6189000.html
点击查看答案
138. ( )存款翻倍问题:1万本金,年利率为0.0325,问本息多少年能翻倍?
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-ca1e-c01a-2cf5d6189000.html
点击查看答案
110. (单选题)字符串'Hi,Andy'中,字符'n'对应的下标位置为( )

A.   1

B.   2

C.   3

D.   4

https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-9407-c01a-2cf5d6189000.html
点击查看答案
121. (单选题)Python内置函数()(可以返回列表、元组、字典、集合、字符串以及range对象中元素个数。

A. type( )

B. index( )

C. len( )

D. count( )

https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-a806-c01a-2cf5d6189000.html
点击查看答案
试题通小程序
试题通app下载