APP下载
首页
>
财会金融
>
计算机python题库总
搜索
计算机python题库总
题目内容
(
判断题
)
7.( )Python支持使用下标修改元组中的元素。

答案:B

计算机python题库总
1.( )python3解释器执行{1,2,'a'}|{2,3,4}的结果为()
https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa9-f0a5-c032-a61f4fe39600.html
点击查看题目
2.( )函数的实参位置可变,需要形参定义和实参调用时都要给出名称
https://www.shititong.cn/cha-kan/shiti/00057e3f-2faa-1cb1-c032-a61f4fe39600.html
点击查看题目
7.( )()表示追加模式,不覆盖文件中原有内容
https://www.shititong.cn/cha-kan/shiti/00057e3f-2faa-9144-c032-a61f4fe39600.html
点击查看题目
20.( )下面程序的输出是None。
https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa9-ec7d-c032-a61f4fe39600.html
点击查看题目
10.( )返回集合中元素个数的函数是()
https://www.shititong.cn/cha-kan/shiti/00057e3f-2faa-0422-c032-a61f4fe39600.html
点击查看题目
11.( )以下程序的输出结果是:
https://www.shititong.cn/cha-kan/shiti/00057e3f-2faa-50f1-c032-a61f4fe39600.html
点击查看题目
5.( )以下循环何时终止?
https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa9-0a04-c032-a61f4fe39600.html
点击查看题目
16.( )这个程序的输出结果为:
https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa9-2066-c032-a61f4fe39600.html
点击查看题目
4.( )在Python循环中,使用foriinrange(10)和foriinrange(10,20),控制循环次数是一样的。
https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa8-f1b2-c032-a61f4fe39600.html
点击查看题目
7.( )在python中,字符串属于不可变有序序列。
https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa9-310a-c032-a61f4fe39600.html
点击查看题目
首页
>
财会金融
>
计算机python题库总
题目内容
(
判断题
)
手机预览
计算机python题库总

7.( )Python支持使用下标修改元组中的元素。

答案:B

分享
计算机python题库总
相关题目
1.( )python3解释器执行{1,2,'a'}|{2,3,4}的结果为()

A. {2}

B. {1,2,3,4,'a'}

C. {1,'a'}

D. {1,3,4,'a'}

https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa9-f0a5-c032-a61f4fe39600.html
点击查看答案
2.( )函数的实参位置可变,需要形参定义和实参调用时都要给出名称
https://www.shititong.cn/cha-kan/shiti/00057e3f-2faa-1cb1-c032-a61f4fe39600.html
点击查看答案
7.( )()表示追加模式,不覆盖文件中原有内容

A. r

B. a

C. w

D. +

https://www.shititong.cn/cha-kan/shiti/00057e3f-2faa-9144-c032-a61f4fe39600.html
点击查看答案
20.( )下面程序的输出是None。
https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa9-ec7d-c032-a61f4fe39600.html
点击查看答案
10.( )返回集合中元素个数的函数是()

A. size()

B. len()

C. elements()

D. count()

https://www.shititong.cn/cha-kan/shiti/00057e3f-2faa-0422-c032-a61f4fe39600.html
点击查看答案
11.( )以下程序的输出结果是:

A. [12,34,56,78]

B. ([12,34,56,78])

C. ([1,2,3,4,5])

D. [1,2,3,4,5]

https://www.shititong.cn/cha-kan/shiti/00057e3f-2faa-50f1-c032-a61f4fe39600.html
点击查看答案
5.( )以下循环何时终止?

A. A

B. B

C. C

D. D

https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa9-0a04-c032-a61f4fe39600.html
点击查看答案
16.( )这个程序的输出结果为:

A. 10

B. 20

C. while循环内没有退出选项,程序陷入死循环

D. 0

https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa9-2066-c032-a61f4fe39600.html
点击查看答案
4.( )在Python循环中,使用foriinrange(10)和foriinrange(10,20),控制循环次数是一样的。
https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa8-f1b2-c032-a61f4fe39600.html
点击查看答案
7.( )在python中,字符串属于不可变有序序列。
https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa9-310a-c032-a61f4fe39600.html
点击查看答案
试题通小程序
试题通app下载