87. (单选题)在Python语言中,可以作为源文件后缀名的是( )
A. python
B. pdf
C. py
D. pyc
解析:答案解析:
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-663a-c01a-2cf5d6189000.html
点击查看答案
46. (单选题)pandas中读取csv格式文件的方法为:
A. readⱣⱤexcel()
B. readⱣⱤcsv()
C. readⱣⱤsql()
D. readⱣⱤjson()
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-123d-c01a-2cf5d6189000.html
点击查看答案
149. (判断题)字符串的切片选取的区间范围是从起始位置开始,到结束位置结束
解析:答案解析:
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-e087-c01a-2cf5d6189000.html
点击查看答案
106. (单选题)以下代码的输出结果是( )for s in "testatest":if s=="a" or s=="e":continueprint(s,end='')
A. tsttst
B. testatest
C. testtest
D. tstatst
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-8cb3-c01a-2cf5d6189000.html
点击查看答案
49. (单选题)import numpy as npprint(np.arange(1, 11))以上程序的运行结果为:
A. [ 1 2 3 4 5 6 7 8 9 10]
B. [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
C. 1 2 3 4 5 6 7 8 9 10
D. 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-189b-c01a-2cf5d6189000.html
点击查看答案
158. (判断题)元组是可变数据类型
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-f174-c01a-2cf5d6189000.html
点击查看答案
135. ( ) 创建函数,完成功能:允许输入任意个数字,输出这些数字求和的结果。
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-c528-c01a-2cf5d6189000.html
点击查看答案
160. (判断题)元组的访问速度比列表要快一些,如果定义了一系列常量值,并且主要用途仅仅是对其进行遍历而不需要进行任何修改,建议使用元组而不使用列表。
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-f4dc-c01a-2cf5d6189000.html
点击查看答案
80. (单选题)Python中实现多个条件判断需要用到( )语句与if语句的组合。
A. else
B. elif
C. pass
D. else if
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-5842-c01a-2cf5d6189000.html
点击查看答案
144. (判断题)每个if条件后面都要使用冒号。
https://www.shititong.cn/cha-kan/shiti/000dded1-b61e-d63a-c01a-2cf5d6189000.html
点击查看答案