APP下载
首页
>
财会金融
>
宏观经济学选择题
搜索
宏观经济学选择题
题目内容
(
单选题
)
115. (单选题)执行以下操作后,list()one=[4,5,6]list()onelist(one[2]=3

A、 Plain Text[4,5,6]

B、 Plain Text[4,3,6]

C、 Plain Text[4,5,3]

D、 Plain Text都不对

答案:C

解析:答案解析:

宏观经济学选择题
162. (判断题)列表可以作为字典的“键”
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-f938-c01a-2cf5d6189000.html
点击查看题目
88. (单选题)在屏幕上打印输出Hello World,使用的Python语句是( )
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-6810-c01a-2cf5d6189000.html
点击查看题目
68. (单选题)下列哪项属于pandas的数据结构( )
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-3f60-c01a-2cf5d6189000.html
点击查看题目
23. (多选题)ls = [25, 13, 36, 1]lst = [88]将列表lst中的元素加到列表ls末尾,输出列表[25, 13, 36, 1, 88]的正确的选项有:
https://www.shititong.cn/cha-kan/shiti/000dded1-b61d-e0b5-c01a-2cf5d6189000.html
点击查看题目
41. (单选题)ls = [25, 13, 36, 1]ls.clear()与del ls的处理结果的区别是:
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-072e-c01a-2cf5d6189000.html
点击查看题目
155. (判断题)列表是不可变数据类型
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-ec95-c01a-2cf5d6189000.html
点击查看题目
72. (单选题)DataFrame中,可以用()方法查看数据中是否出现空值。
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-47a3-c01a-2cf5d6189000.html
点击查看题目
11. (多选题)s = "Hello world!"下面程序语句和注释均正确的有:
https://www.shititong.cn/cha-kan/shiti/000dded1-b61d-c70d-c01a-2cf5d6189000.html
点击查看题目
10. (多选题)"+" 可以用于将多个字符串拼接为一个,下面正确的有:
https://www.shititong.cn/cha-kan/shiti/000dded1-b61d-c515-c01a-2cf5d6189000.html
点击查看题目
103. (单选题)下列哪一项不属于while循环语句的循环要素
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-86e1-c01a-2cf5d6189000.html
点击查看题目
首页
>
财会金融
>
宏观经济学选择题
题目内容
(
单选题
)
手机预览
宏观经济学选择题

115. (单选题)执行以下操作后,list()one=[4,5,6]list()onelist(one[2]=3

A、 Plain Text[4,5,6]

B、 Plain Text[4,3,6]

C、 Plain Text[4,5,3]

D、 Plain Text都不对

答案:C

解析:答案解析:

分享
宏观经济学选择题
相关题目
162. (判断题)列表可以作为字典的“键”

A.   对

B.   错

https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-f938-c01a-2cf5d6189000.html
点击查看答案
88. (单选题)在屏幕上打印输出Hello World,使用的Python语句是( )

A. print('Hello World')

B. println("Hello World")

C. print(Hello World)

D. printf('Hello World')

https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-6810-c01a-2cf5d6189000.html
点击查看答案
68. (单选题)下列哪项属于pandas的数据结构( )

A. DataFrame对象

B. array对象

C. dtype对象

D. list对象

https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-3f60-c01a-2cf5d6189000.html
点击查看答案
23. (多选题)ls = [25, 13, 36, 1]lst = [88]将列表lst中的元素加到列表ls末尾,输出列表[25, 13, 36, 1, 88]的正确的选项有:

A. ls = [25, 13, 36, 1]lst = [88]lsⱣⱤnew = ls + lstprint(lsⱣⱤnew)

B. ls = [25, 13, 36, 1]lst = [88]lsⱣⱤnew = ls.extend(lst)print(lsⱣⱤnew)

C. ls = [25, 13, 36, 1]lst = [88]ls.extend(lst)print(ls)

D. ls = [25, 13, 36, 1]lst = [88]lsⱣⱤnew = ls.extend(lst)print(ls)

https://www.shititong.cn/cha-kan/shiti/000dded1-b61d-e0b5-c01a-2cf5d6189000.html
点击查看答案
41. (单选题)ls = [25, 13, 36, 1]ls.clear()与del ls的处理结果的区别是:

A. ls.clear()只是清空列表,del ls是删除列表对象

B. ls.clear()只是删除列表对象,del ls是清空列表

C. ls.clear()与del ls的处理结果没有区别

D. ls.clear()只是清空列表,del ls是删除程序

https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-072e-c01a-2cf5d6189000.html
点击查看答案
155. (判断题)列表是不可变数据类型

A.   对

B.   错

https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-ec95-c01a-2cf5d6189000.html
点击查看答案
72. (单选题)DataFrame中,可以用()方法查看数据中是否出现空值。

A. isna()

B. isNone()

C. isFALSE()

D. isNull()

解析:答案解析:

https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-47a3-c01a-2cf5d6189000.html
点击查看答案
11. (多选题)s = "Hello world!"下面程序语句和注释均正确的有:

A. print(s[3:5]) # 输出 lo

B. print(s[5:3]) # 输出空字符串

C. print(s[::-1]) # 输出!dlrow olleH

D. print(s[-1::-1]) # 输出!dlrow olleH

https://www.shititong.cn/cha-kan/shiti/000dded1-b61d-c70d-c01a-2cf5d6189000.html
点击查看答案
10. (多选题)"+" 可以用于将多个字符串拼接为一个,下面正确的有:

A. 'Hello'+"world"

B. "Hello"+'2021'

C. "Hello"+2021

D. "Hello"+str(2021)

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

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

B.   输出语句

C.   循环体

D.   循环变量变化的语句

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