APP下载
首页
>
财会金融
>
宏观经济学选择题
搜索
宏观经济学选择题
题目内容
(
单选题
)
57. (单选题)字典类型主要是根据键来提取对应值,通过赋值操作可以实现字典元素的增添和修改,若对于字典Dict={2:two,3:three ,1:one,}进行操作Dict[1]=One,此时字典Dict将会变为( )(注意,下面选项不考虑顺序性)。

A、  {2:'two', 3:'One', 1:'one'}

B、  {2:'two', 3:'three', 1:'One'}

C、  {2:'two', 3:'three', 1:'one', 1:'One'}

D、  {2:'One', 3:'three', 1:'one'}

答案:B

宏观经济学选择题
149. (判断题)字符串的切片选取的区间范围是从起始位置开始,到结束位置结束
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-e087-c01a-2cf5d6189000.html
点击查看题目
173. (判断题)在调用函数时,可以通过关键参数的形式进行传值,从而避免必须记住函数形参顺序的麻烦。
https://www.shititong.cn/cha-kan/shiti/000dded1-b61f-0ed4-c01a-2cf5d6189000.html
点击查看题目
33. (多选题)设置二行二列4个子图并在第3个区域绘制图形,以下语句正确的有:
https://www.shititong.cn/cha-kan/shiti/000dded1-b61d-f634-c01a-2cf5d6189000.html
点击查看题目
185. (填空题)字典中每个元素的“键”与“值”之间使用()分隔开
https://www.shititong.cn/cha-kan/shiti/000dded1-b61f-2801-c01a-2cf5d6189000.html
点击查看题目
75. (单选题)Pyhton 中的序列类型数据结构元素的切片操作非常灵活且功能强大,对于列表Letter=['a','b','c','d','e'],下述操作会正常输出结果的是( )
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-4e0c-c01a-2cf5d6189000.html
点击查看题目
177. (填空题)()语句是else语句和if语句的组合。
https://www.shititong.cn/cha-kan/shiti/000dded1-b61f-161a-c01a-2cf5d6189000.html
点击查看题目
190. (填空题)在函数里面调用另外一个函数,这就是函数的( )调用
https://www.shititong.cn/cha-kan/shiti/000dded1-b61f-31eb-c01a-2cf5d6189000.html
点击查看题目
22. (多选题)ls = [25, 13, 36, 1]ls为一个列表,删除其中元素13,输出列表[25, 36, 1]的正确的选项有:
https://www.shititong.cn/cha-kan/shiti/000dded1-b61d-dea1-c01a-2cf5d6189000.html
点击查看题目
51. (单选题)对于字符串的标识,Python 中可使用的方法很多,下面正确的是( )
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-1db2-c01a-2cf5d6189000.html
点击查看题目
130. (单选题)以下哪个函数用于绘制折线图()
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-bb34-c01a-2cf5d6189000.html
点击查看题目
首页
>
财会金融
>
宏观经济学选择题
题目内容
(
单选题
)
手机预览
宏观经济学选择题

57. (单选题)字典类型主要是根据键来提取对应值,通过赋值操作可以实现字典元素的增添和修改,若对于字典Dict={2:two,3:three ,1:one,}进行操作Dict[1]=One,此时字典Dict将会变为( )(注意,下面选项不考虑顺序性)。

A、  {2:'two', 3:'One', 1:'one'}

B、  {2:'two', 3:'three', 1:'One'}

C、  {2:'two', 3:'three', 1:'one', 1:'One'}

D、  {2:'One', 3:'three', 1:'one'}

答案:B

分享
宏观经济学选择题
相关题目
149. (判断题)字符串的切片选取的区间范围是从起始位置开始,到结束位置结束

A.   对

B.   错

解析:答案解析:

https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-e087-c01a-2cf5d6189000.html
点击查看答案
173. (判断题)在调用函数时,可以通过关键参数的形式进行传值,从而避免必须记住函数形参顺序的麻烦。

A.   对

B.   错

https://www.shititong.cn/cha-kan/shiti/000dded1-b61f-0ed4-c01a-2cf5d6189000.html
点击查看答案
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
点击查看答案
185. (填空题)字典中每个元素的“键”与“值”之间使用()分隔开
https://www.shititong.cn/cha-kan/shiti/000dded1-b61f-2801-c01a-2cf5d6189000.html
点击查看答案
75. (单选题)Pyhton 中的序列类型数据结构元素的切片操作非常灵活且功能强大,对于列表Letter=['a','b','c','d','e'],下述操作会正常输出结果的是( )

A. Letter[-1:-4:-1]

B. Letter( :3:2)

C. Letter[1:3:0]

D. Letter[ 'a': 'd': 2]

https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-4e0c-c01a-2cf5d6189000.html
点击查看答案
177. (填空题)()语句是else语句和if语句的组合。
https://www.shititong.cn/cha-kan/shiti/000dded1-b61f-161a-c01a-2cf5d6189000.html
点击查看答案
190. (填空题)在函数里面调用另外一个函数,这就是函数的( )调用

解析:答案解析:

https://www.shititong.cn/cha-kan/shiti/000dded1-b61f-31eb-c01a-2cf5d6189000.html
点击查看答案
22. (多选题)ls = [25, 13, 36, 1]ls为一个列表,删除其中元素13,输出列表[25, 36, 1]的正确的选项有:

A. ls = [25, 13, 36, 1]ls.remove(13)print(ls)

B. ls = [25, 13, 36, 1]ls.pop(1)print(ls)

C. ls = [25, 13, 36, 1]ls.clear(13)print(ls)

D. ls = [25, 13, 36, 1]ls=[ls[0]]+ls[2:]print(ls)

https://www.shititong.cn/cha-kan/shiti/000dded1-b61d-dea1-c01a-2cf5d6189000.html
点击查看答案
51. (单选题)对于字符串的标识,Python 中可使用的方法很多,下面正确的是( )

A. " What's happened to you?"

B. ' What's happened to you?'

C. ' What\\'s happened to you?'

D. "" Oh! " It sounds terrible."

https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-1db2-c01a-2cf5d6189000.html
点击查看答案
130. (单选题)以下哪个函数用于绘制折线图()

A. scatter()

B. plot()

C. bar()

D. pie()

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