判断题

使用 map 函数可以实现列表数据元素类型的转换, 而无需通过循环。 则将列表 s=[' 1' , ' 2' , ' 3 ' ]

A

map(int, s)

B

map(s, int)

C

list(map(s, int))

D

list(map(int, s))

赣ICP备20007335号-2