python 字符串转列表

2026-04-07 02:32:26

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

python 字符串转列表

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

python 字符串转列表

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

python 字符串转列表

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

python 字符串转列表

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

python 字符串转列表

猜你喜欢