python 字符串转列表

时间:2024-10-11 21:30:28

1、使用split方法将字符串转换成列表

python 字符串转列表

2、指定分隔符将字符串转换成列表

python 字符串转列表

3、使用列表推导式将字符串转换成列表

python 字符串转列表

4、使用map函数将字符串转换成列表

python 字符串转列表

5、使用list函数将字符串转换成列表

python 字符串转列表
© 手抄报圈