- 博客(1)
- 收藏
- 关注
原创 字符串和列表的相互转换——python3
字符串转列表_1s = 'abc's = list(s)字符串转列表_2s = 'a b c's = s.split(' ')列表转字符串s = ['a', 'b', 'c']s = ''.join(s)列表str转int_1s = ['1','2','3']s = list(map(int,s))列表str转int_2s = ['1','2'...
2018-10-10 10:50:27
364
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅