单项选择题
在Python中,如何创建一个列表?()
A.list =[]
B.list =list()
C.list =array()
D.list =newArray()
点击查看答案&解析
相关考题
-
单项选择题
在Python中,如何创建一个字符串?()
A.str =""
B.str =str()
C.str =new String()
D.str =None -
单项选择题
在Python中,如何关闭一个文件?()
A.file.close()
B.close(file)
C.file.terminate()
D.file.exit() -
多项选择题
在Python中,如何删除字典中的一个键值对?()
A.del dict[key]
B.dict.remove(key)
C.dict.delete(key)
D.dict.pop(key)
