-2

我有要在列表中转换的文本

"app and a.b.c.d" 

输出应该是

["app", "and", "a.b.c.d"] 
4

1 回答 1

4
>>> "app and a.b.c.d".split()
['app', 'and', 'a.b.c.d']
于 2012-08-07T10:29:58.793 回答