解决list中单独存储字母转化为单词(字符串)的问题
list存储着类似下边代码的格式,但是想将属于一个单词的字母合并
'w', 'a', 's', 'h', 'i', 'n', 'g', 't', 'o', 'n', ' ', ' ', ' ', ' ', ' ', 'c', 'o', 'n', 'g', 'r', 'e', 's']
使用下面的方式即可
''.join(text_midel)
最后结果:
congressional republicans have a new fear when it comes to their