python中如何split问题? 时间:2026-12-04 11:49:00 浏览:995次 lst = [ int ( n ) for n in '1,2,3,4' . split ( ',' )] lst = list ( map ( int , '1,2,3,4' . split ( ',' ))) 标签:python,split,Python,Python 使用技巧,Python教程