我有句子的列出清单的单词的一个列表蟒蛇
['big', 'mistake.']
['our', 'room', 'was', 'tiny,']
['and', 'the', 'bath', 'was', 'small', 'too.']
如何创建与Python中一个列表中的所有单词的列表形式。
对此
['big', 'mistake.','our', 'room', 'was', 'tiny,','and', 'the', 'bath',...]
t = s[1].lower().split(' ')
print(t)
你有没有试过*任何*? – timgeb
你可以附加列表 – Harsha