APP下载
首页
>
财会金融
>
宏观经济学选择题
搜索
宏观经济学选择题
题目内容
(
判断题
)
157. (判断题)通过索引可以修改和访问元组的元素

A、  对

B、  错

答案:B

宏观经济学选择题
87. (单选题)在Python语言中,可以作为源文件后缀名的是( )
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-663a-c01a-2cf5d6189000.html
点击查看题目
6. (多选题)输入一个正整数,输出小于这个数的所有奇数的和,以下程序结果正确的是:
https://www.shititong.cn/cha-kan/shiti/000dded1-b61d-bc82-c01a-2cf5d6189000.html
点击查看题目
152. (判断题)通过insert方法可以在指定的索引位置插入元素
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-e6ed-c01a-2cf5d6189000.html
点击查看题目
147. (判断题)Python中单个字符也属于字符串类型
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-dc39-c01a-2cf5d6189000.html
点击查看题目
125. (单选题)使用( )关键字创建自定义函数
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-b01f-c01a-2cf5d6189000.html
点击查看题目
15. (多选题)元组与列表的主要区别有:
https://www.shititong.cn/cha-kan/shiti/000dded1-b61d-cf2e-c01a-2cf5d6189000.html
点击查看题目
74. (单选题)以下选项中不符合 Python 语言变量命名规则的是( )
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-4c03-c01a-2cf5d6189000.html
点击查看题目
63. (单选题)一个简单的Series是由()的数据组成的
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-353e-c01a-2cf5d6189000.html
点击查看题目
66. (单选题)在pandas中以下哪个方法用于从csv文件中读取数据()
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-3b6c-c01a-2cf5d6189000.html
点击查看题目
76. (单选题)字典类型主要是根据键来提取对应值,通过赋值操作可以实现字典元素的增添和修改,若对于字典Dict={2:two,3:three ,1:one,}进行操作Dict[1]=One,此时字典Dict将会变为( )(注意,下面选项不考虑顺序性)。
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-4ff1-c01a-2cf5d6189000.html
点击查看题目
首页
>
财会金融
>
宏观经济学选择题
题目内容
(
判断题
)
手机预览
宏观经济学选择题

157. (判断题)通过索引可以修改和访问元组的元素

A、  对

B、  错

答案:B

分享
宏观经济学选择题
相关题目
87. (单选题)在Python语言中,可以作为源文件后缀名的是( )

A. python

B. pdf

C. py

D. pyc

解析:答案解析:

https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-663a-c01a-2cf5d6189000.html
点击查看答案
6. (多选题)输入一个正整数,输出小于这个数的所有奇数的和,以下程序结果正确的是:

A. n=int(input())result=0foriinrange(n):ifi%2==1:result=result+iprint(result)

B. n = int(input())result = 0for i in range(1, n):if i % 2 == 1:result = result + iprint(result)

C. n = int(input())result = 0for i in range(n):result = result + iprint(result)

D. n = int(input())print(sum([i for i in range(n) if i % 2 == 1]))

https://www.shititong.cn/cha-kan/shiti/000dded1-b61d-bc82-c01a-2cf5d6189000.html
点击查看答案
152. (判断题)通过insert方法可以在指定的索引位置插入元素

A.   对

B.   错

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

A.   对

B.   错

https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-dc39-c01a-2cf5d6189000.html
点击查看答案
125. (单选题)使用( )关键字创建自定义函数

A. function

B. func

C. def

D. procedure

https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-b01f-c01a-2cf5d6189000.html
点击查看答案
15. (多选题)元组与列表的主要区别有:

A.   元组是不可变数据类型,列表是可变数据类型

B.   元组可以为空,列表不能为空

C.   元组的界定符是圆括号,列表的界定符是方括号

D.   元组的内置方法只有count()和index(),列表的内置方法较多

https://www.shititong.cn/cha-kan/shiti/000dded1-b61d-cf2e-c01a-2cf5d6189000.html
点击查看答案
74. (单选题)以下选项中不符合 Python 语言变量命名规则的是( )

A.   TempStr

B.   3ⱣⱤ1

C.   ⱣⱤAl

D.   l

解析:答案解析:

https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-4c03-c01a-2cf5d6189000.html
点击查看答案
63. (单选题)一个简单的Series是由()的数据组成的

A.   两个数组

B.   三个数组

C.   一个数组

D.   四个数组

https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-353e-c01a-2cf5d6189000.html
点击查看答案
66. (单选题)在pandas中以下哪个方法用于从csv文件中读取数据()

A. toⱣⱤexcel()

B. readⱣⱤcsv()

C. toⱣⱤcsv()

D. readⱣⱤexcel()

https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-3b6c-c01a-2cf5d6189000.html
点击查看答案
76. (单选题)字典类型主要是根据键来提取对应值,通过赋值操作可以实现字典元素的增添和修改,若对于字典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'}

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