单项选择题
Python 中,以下哪个代码是正确的元组()
A.sampleTuple =(1,2,3,4,5)
B.sampleTuple ={1,2,3,4,5}
C.sampleTuple =[1,2,3,4,5]
D.sampleList =/1,2,3,4,5/
点击查看答案&解析
相关考题
-
单项选择题
Python 中,以下哪个代码是正确的列表()
A.sampleList ={1,2,3,4,5}
B.sampleList =(1,2,3,4,5)
C.sampleList =/1,2,3,4,5/
D.sampleList =[1,2,3,4,5] -
单项选择题
将字符串"example"中的字母a 替换为字母b,以下代码正确的是()
A.example.swap(’b’,’a’)
B.example.replace(’a’,’b’)
C.example.match(’b’,’a’)
D.example.replace(’b’,’a’) -
多项选择题
以下哪些是测试的类型()
A.单元测试
B.集成测试
C.系统测试
D.验收测试
