7.( )指令”what”in{“love”,”python”,123,”what”,”good”}执行后结果为True。
https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa9-cec3-c032-a61f4fe39600.html
点击查看答案
2.( )下面代码
![](https://yi2.oss-cn-shenzhen.aliyuncs.com/0001467af3135283c05f40df2a9dcc00.png)
中循环结束后,count的值是()
https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa9-0265-c032-a61f4fe39600.html
点击查看答案
9.( )对于两个集合s1和s2,s1<s2的意思是?
A. s1的大小小于s2的大小
B. s1的元素比s2的小
C. s1是s2的真子集
D. s2是s1的真子集
https://www.shititong.cn/cha-kan/shiti/00057e3f-2faa-020e-c032-a61f4fe39600.html
点击查看答案
1.( )列表lst=[12,-5,-22,-10,-26,35,0,49,3,-21],则lst[100]的结果是运行错误。
https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa9-637c-c032-a61f4fe39600.html
点击查看答案
13.( )列表中索引值为-1的元素指的是最后一个元素。
https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa9-7b92-c032-a61f4fe39600.html
点击查看答案
15.( )列表a=[1,2,[3,4]],则3ina为真。
https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa9-7f73-c032-a61f4fe39600.html
点击查看答案
7.( )()表示追加模式,不覆盖文件中原有内容
https://www.shititong.cn/cha-kan/shiti/00057e3f-2faa-9144-c032-a61f4fe39600.html
点击查看答案
15.( )现有一元组:x=(1,2,3,4)以下对元组操作正确的是()。
A. y=x[0]
B. y=x(0)
C. x[0]=0
D. x(0)=0
https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa9-c098-c032-a61f4fe39600.html
点击查看答案
16.( )以下对字典的说法错误的是()。
A. 字典可以为空
B. 字典的键不能相同
C. 字典的键不可变
D. 字典的键对应的值不可变
https://www.shititong.cn/cha-kan/shiti/00057e3f-2faa-1128-c032-a61f4fe39600.html
点击查看答案
8.( )foriinrange(10):……代码段中,i的循环终值是10。
https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa8-fa11-c032-a61f4fe39600.html
点击查看答案