python 字符串转列表

2026-02-14 12:38:04

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

python 字符串转列表

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

python 字符串转列表

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

python 字符串转列表

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

python 字符串转列表

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

python 字符串转列表

猜你喜欢