APP下载
首页
>
财会金融
>
宏观经济学选择题
搜索
宏观经济学选择题
题目内容
(
判断题
)
153. (判断题)append方法可以将元素添加到列表的任意位置

A、  对

B、  错

答案:B

宏观经济学选择题
48. (单选题)import numpy as npprint(np.linspace(0, 10, 11))以上程序的运行结果为:
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-1678-c01a-2cf5d6189000.html
点击查看题目
11. (多选题)s = "Hello world!"下面程序语句和注释均正确的有:
https://www.shititong.cn/cha-kan/shiti/000dded1-b61d-c70d-c01a-2cf5d6189000.html
点击查看题目
78. (单选题)定义一个函数如下:def showNnumber(numbers):for n in numbers:print(n)下面那个选项在调用函数时会报错( )
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-53d7-c01a-2cf5d6189000.html
点击查看题目
94. (单选题)下列选项中,幂运算的符号为( )
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-73cb-c01a-2cf5d6189000.html
点击查看题目
89. (单选题)python语言属于( )
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-69f3-c01a-2cf5d6189000.html
点击查看题目
1. (多选题)下面可以输出浮点数3.0 的程序语句有:
https://www.shititong.cn/cha-kan/shiti/000dded1-b61d-a3b1-c01a-2cf5d6189000.html
点击查看题目
170. (判断题)一个函数如果带有默认值参数,那么必须所有参数都设置默认值。
https://www.shititong.cn/cha-kan/shiti/000dded1-b61f-096b-c01a-2cf5d6189000.html
点击查看题目
88. (单选题)在屏幕上打印输出Hello World,使用的Python语句是( )
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-6810-c01a-2cf5d6189000.html
点击查看题目
141. (简答题)文件“静夜思.txt”保存在当前文件夹下,其文件的编码为“utf-8”,现在需要打开并读取文件内容,可以获得以下格式的输出的程序代码段:静夜思李白床前明月光,疑似地主霜。举头望明月,低头思故乡。
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-d03a-c01a-2cf5d6189000.html
点击查看题目
185. (填空题)字典中每个元素的“键”与“值”之间使用()分隔开
https://www.shititong.cn/cha-kan/shiti/000dded1-b61f-2801-c01a-2cf5d6189000.html
点击查看题目
首页
>
财会金融
>
宏观经济学选择题
题目内容
(
判断题
)
手机预览
宏观经济学选择题

153. (判断题)append方法可以将元素添加到列表的任意位置

A、  对

B、  错

答案:B

分享
宏观经济学选择题
相关题目
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
点击查看答案
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
点击查看答案
78. (单选题)定义一个函数如下:def showNnumber(numbers):for n in numbers:print(n)下面那个选项在调用函数时会报错( )

A. showNumer([2,4,5])

B. showNnumber(3.4)

C. showNnumber('abcesf')

D. showNumber((12,4,5))

https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-53d7-c01a-2cf5d6189000.html
点击查看答案
94. (单选题)下列选项中,幂运算的符号为( )

A.   *

B.   ++

C.   %

D.   **

https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-73cb-c01a-2cf5d6189000.html
点击查看答案
89. (单选题)python语言属于( )

A.   机器语言

B.   汇编语言

C.   高级语言

D.   科学计算语言

https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-69f3-c01a-2cf5d6189000.html
点击查看答案
1. (多选题)下面可以输出浮点数3.0 的程序语句有:

A. print(float('3.0'))

B. print(float(3))

C. print(float(' 3.0\n'))

D. print(float('\t 3.0\n'))

解析:答案解析:float()转浮点数时,可以去除字符串开头和结尾的空白字符

https://www.shititong.cn/cha-kan/shiti/000dded1-b61d-a3b1-c01a-2cf5d6189000.html
点击查看答案
170. (判断题)一个函数如果带有默认值参数,那么必须所有参数都设置默认值。

A.   对

B.   错

https://www.shititong.cn/cha-kan/shiti/000dded1-b61f-096b-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
点击查看答案
141. (简答题)文件“静夜思.txt”保存在当前文件夹下,其文件的编码为“utf-8”,现在需要打开并读取文件内容,可以获得以下格式的输出的程序代码段:静夜思李白床前明月光,疑似地主霜。举头望明月,低头思故乡。
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-d03a-c01a-2cf5d6189000.html
点击查看答案
185. (填空题)字典中每个元素的“键”与“值”之间使用()分隔开
https://www.shititong.cn/cha-kan/shiti/000dded1-b61f-2801-c01a-2cf5d6189000.html
点击查看答案
试题通小程序
试题通app下载