APP下载
首页
>
财会金融
>
宏观经济学选择题
搜索
宏观经济学选择题
题目内容
(
多选题
)
111. (单选题)下列方法中,能够返回某个子串在字符串中出现次数的是( )

A、length

B、index

C、count

D、find

答案:C

宏观经济学选择题
33. (多选题)设置二行二列4个子图并在第3个区域绘制图形,以下语句正确的有:
https://www.shititong.cn/cha-kan/shiti/000dded1-b61d-f634-c01a-2cf5d6189000.html
点击查看题目
79. (单选题)可变参数*args传入函数时的存储方式为( )
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-55fb-c01a-2cf5d6189000.html
点击查看题目
56. (单选题)Python 中的数据结构可分为可变类型与不可变类型,下面属于不可变类型的是( )
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-26ea-c01a-2cf5d6189000.html
点击查看题目
28. (多选题)关于字典的概念,以下选项正确的有:
https://www.shititong.cn/cha-kan/shiti/000dded1-b61d-ebee-c01a-2cf5d6189000.html
点击查看题目
150. (判断题)Python中字符串数据类型是不可变数据类型
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-e2bf-c01a-2cf5d6189000.html
点击查看题目
86. (单选题)以下关于Python缩进的描述中,错误的是( )
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-645b-c01a-2cf5d6189000.html
点击查看题目
35. (单选题)表示整数num能被4整除的表达式为:
https://www.shititong.cn/cha-kan/shiti/000dded1-b61d-faa1-c01a-2cf5d6189000.html
点击查看题目
103. (单选题)下列哪一项不属于while循环语句的循环要素
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-86e1-c01a-2cf5d6189000.html
点击查看题目
48. (单选题)import numpy as npprint(np.linspace(0, 10, 11))以上程序的运行结果为:
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-1678-c01a-2cf5d6189000.html
点击查看题目
168. (判断题)函数体以冒号起始,并且是缩进格式的
https://www.shititong.cn/cha-kan/shiti/000dded1-b61f-0571-c01a-2cf5d6189000.html
点击查看题目
首页
>
财会金融
>
宏观经济学选择题
题目内容
(
多选题
)
手机预览
宏观经济学选择题

111. (单选题)下列方法中,能够返回某个子串在字符串中出现次数的是( )

A、length

B、index

C、count

D、find

答案:C

分享
宏观经济学选择题
相关题目
33. (多选题)设置二行二列4个子图并在第3个区域绘制图形,以下语句正确的有:

A. plt.subplot(2, 2, 3)

B. plt.subplot(2, 2, 2)

C. plt.subplot(223)

D. plt.subplot(222)

https://www.shititong.cn/cha-kan/shiti/000dded1-b61d-f634-c01a-2cf5d6189000.html
点击查看答案
79. (单选题)可变参数*args传入函数时的存储方式为( )

A.   列表

B.   元组

C.   字典

D.   数据框

https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-55fb-c01a-2cf5d6189000.html
点击查看答案
56. (单选题)Python 中的数据结构可分为可变类型与不可变类型,下面属于不可变类型的是( )

A.   字典

B.   列表

C.   字典中的键

D.   集合(set类型)

https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-26ea-c01a-2cf5d6189000.html
点击查看答案
28. (多选题)关于字典的概念,以下选项正确的有:

A.   字典的元素分键和值两部分

B.   字典的键不可以重复

C.   字典的键必须是不可变数据类型

D.   字典的值必须是不可变数据类型

https://www.shititong.cn/cha-kan/shiti/000dded1-b61d-ebee-c01a-2cf5d6189000.html
点击查看答案
150. (判断题)Python中字符串数据类型是不可变数据类型

A.   对

B.   错

https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-e2bf-c01a-2cf5d6189000.html
点击查看答案
86. (单选题)以下关于Python缩进的描述中,错误的是( )

A. Python用严格的缩进表示程序的格式框架,所有代码都需要在行前至少加一个空格

B. 缩进是可以嵌套的,从而形成多层缩进

C. 缩进表达了所属关系和代码块的所属范围

D. 判断、循环、函数等都能够通过缩进包含一批代码

解析:答案解析:

https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-645b-c01a-2cf5d6189000.html
点击查看答案
35. (单选题)表示整数num能被4整除的表达式为:

A. num * 4 == 0

B. num // 4 == 0

C. num / 4 == 0

D. num % 4 == 0

https://www.shititong.cn/cha-kan/shiti/000dded1-b61d-faa1-c01a-2cf5d6189000.html
点击查看答案
103. (单选题)下列哪一项不属于while循环语句的循环要素

A.   循环变量的初值和终值

B.   输出语句

C.   循环体

D.   循环变量变化的语句

https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-86e1-c01a-2cf5d6189000.html
点击查看答案
48. (单选题)import numpy as npprint(np.linspace(0, 10, 11))以上程序的运行结果为:

A.   [ 0. 1. 2. 3. 4. 5. 6. 7. 8. 9. 10.]

B.   [ 0., 1., 2., 3., 4., 5., 6., 7., 8., 9., 10.]

C.   0. 1. 2. 3. 4. 5. 6. 7. 8. 9. 10.

D.   0., 1., 2., 3., 4., 5., 6., 7., 8., 9., 10.

https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-1678-c01a-2cf5d6189000.html
点击查看答案
168. (判断题)函数体以冒号起始,并且是缩进格式的

A.   对

B.   错

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