APP下载
首页
>
财会金融
>
计算机python题库总
搜索
计算机python题库总
题目内容
(
判断题
)
7.( )python的函数里引用一个组合数据类型变量,就会创建一个该类型对象。

答案:B

计算机python题库总
8.( )以下哪个方式可以创建一个空的集合?
https://www.shititong.cn/cha-kan/shiti/00057e3f-2faa-0001-c032-a61f4fe39600.html
点击查看题目
14.( )x=“Car”,y=5,print(x+y)的输出结果是
https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa8-b7e6-c032-a61f4fe39600.html
点击查看题目
6.( )在Python中,a=10,表示a的值是一个十进制数。
https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa8-7bbd-c032-a61f4fe39600.html
点击查看题目
15.( )Python指令a=eval(input())执行后,输入3+5。请问a的值是多少()
https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa8-b9bc-c032-a61f4fe39600.html
点击查看题目
16.( )这个程序的输出结果为:
https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa9-2066-c032-a61f4fe39600.html
点击查看题目
1.( )python3解释器执行{1,2,'a'}|{2,3,4}的结果为()
https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa9-f0a5-c032-a61f4fe39600.html
点击查看题目
1.( )对文件进行读写操作之后必须显式关闭文件以确保所有内容都得到保存。
https://www.shititong.cn/cha-kan/shiti/00057e3f-2faa-5ebb-c032-a61f4fe39600.html
点击查看题目
10.( )执行如下语句,程序陷入死循环状态。whileTrue:print(”我爱学python”)
https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa8-fe34-c032-a61f4fe39600.html
点击查看题目
10.( )以下程序的输出结果为:
https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa9-574e-c032-a61f4fe39600.html
点击查看题目
5.( )在切片操作lst[start,end,step]中,start、end、step三者可同为正、同为负,或正负混合。
https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa9-6b93-c032-a61f4fe39600.html
点击查看题目
首页
>
财会金融
>
计算机python题库总
题目内容
(
判断题
)
手机预览
计算机python题库总

7.( )python的函数里引用一个组合数据类型变量,就会创建一个该类型对象。

答案:B

分享
计算机python题库总
相关题目
8.( )以下哪个方式可以创建一个空的集合?

A. set()

B. {}

C. []

D. ()

https://www.shititong.cn/cha-kan/shiti/00057e3f-2faa-0001-c032-a61f4fe39600.html
点击查看答案
14.( )x=“Car”,y=5,print(x+y)的输出结果是

A. 语法错

B. 5

C. ”Car5”

D. ”CarCarCarCarCar”

https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa8-b7e6-c032-a61f4fe39600.html
点击查看答案
6.( )在Python中,a=10,表示a的值是一个十进制数。
https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa8-7bbd-c032-a61f4fe39600.html
点击查看答案
15.( )Python指令a=eval(input())执行后,输入3+5。请问a的值是多少()

A. 8

B. '8'

C. '3'+'5'

D. '3+5'

https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa8-b9bc-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
点击查看答案
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
点击查看答案
1.( )对文件进行读写操作之后必须显式关闭文件以确保所有内容都得到保存。
https://www.shititong.cn/cha-kan/shiti/00057e3f-2faa-5ebb-c032-a61f4fe39600.html
点击查看答案
10.( )执行如下语句,程序陷入死循环状态。whileTrue:print(”我爱学python”)
https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa8-fe34-c032-a61f4fe39600.html
点击查看答案
10.( )以下程序的输出结果为:

A. 10

B. 7

C. 2

D. -1

https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa9-574e-c032-a61f4fe39600.html
点击查看答案
5.( )在切片操作lst[start,end,step]中,start、end、step三者可同为正、同为负,或正负混合。
https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa9-6b93-c032-a61f4fe39600.html
点击查看答案
试题通小程序
试题通app下载