单选题 表达式 ':'.join('1,2,3,4,5'.split(',')) 的值为( )。
A、'1:2:3:4:5'
B、1:2:3:4:5
C、'1': '2': '3': '4': '5'
D、'12345'
单选题 已知列表 x = [1, 2, 3],那么执行语句 x.insert(1, 4) ,x的值为 ( )。
A、[1,2, 4, 3]
B、[1, 4, 2, 3]
C、[4, 1, 2, 3]
D、[1, 2, 3, 4]
单选题 使用pip工具安装科学计算扩展库numpy的完整命令是( )。
A、pip install numpy
B、pip install --upgrad
C、numpy
D、pip list
E、pip uninstall numpy
单选题 字典对象的( )方法返回字典中的“键-值对”列表。
A、values( )
B、type( )
C、keys( )
D、items( )
单选题 下列属于python无序序列的是 ( )。
单选题 语句 x = (3,) 执行后x的值为( )。
单选题 查看变量类型的Python内置函数是( )。
A、len( )
B、sum( )
C、max( )
D、type( )
单选题 list(map(str, [1, 2, 3]))的执行结果为( )。
A、[‘1, 2, 3’]
B、[‘1’, ‘2’, ‘3’]
C、‘1, 2, 3’
D、[1, 2, 3]