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个区域绘制图形,以下语句正确的有:
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
点击查看答案