是否可以拆分python字符串(句子),使其保留输出中单词之间的空白,但在拆分的子字符串中,通过在每个单词后面追加它?
例如:
given_string = 'This is my string!' output = ['This ', 'is ', 'my ', 'string!']