1,760
edits
Changes
→Split a single line into words and store all the words in a list
print(word_list) # <-- you should see the list of word when this line is executed
</pre>
Output from the above print() function:
<pre>
['rchan', 'pts/9', '10.40.91.236', 'Tue', 'Feb', '13', '16:53:42', '2018', '-', 'Tue', 'Feb', '13', '16:57:02', '2018', '(00:03)']
</pre>