5 odpowiedzi
+ 6
1. open file with open(...) within a for loop that reads one line
2. take this line and split it to a list
3. iterate through this list so you get each word, and do what you need
+ 4
Here is my solution:
https://code.sololearn.com/cq0Hb65E1OiD/?ref=app
+ 1
Program should contain less number of steps
0
by word