stdinはリストにテキストのスティングを返し、複数行のテキストはすべてリスト要素です。 どのようにそれらをすべて1つの単語に分割しますか?python既にリストにあるテキストを分割する方法
mylist = ['this is a string of text \n', 'this is a different string of text \n', 'and for good measure here is another one \n']
は出力を望んでいた:
newlist = ['this', 'is', 'a', 'string', 'of', 'text', 'this', 'is', 'a', 'different', 'string', 'of', 'text', 'and', 'for', 'good', 'measure', 'here', 'is', 'another', 'one']
は完璧であること、ありがとうございます。より良いことは、私が研究するためにPythonで全く新しい概念を概説したことです。 – iFunction