a='1,2,3' b=a.split(',') b ['1', '2', '3'] list(map(int,b)) [1, 2, 3]
a='1,2,3'
b=a.split(',') b ['1', '2', '3']
list(map(int,b)) [1, 2, 3]
本文标题:python-map函数
本文链接:https://www.haomeiwen.com/subject/dbfrurtx.html
网友评论