Answer the question
In order to leave comments, you need to log in
How to extract a line and a word from a file in python?
Let's say there is a file, it has several lines, each line has the same number of words. For example 5 lines, each line has 4 words. How can you, for example, deduce the 4th word from the 2nd line?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question