- 1
Please help.Function to display odd lines in text files .
5 ответов
+ 1
Clear your question first.
+ 1
The future is now thanks to science[LESS ACTIVE] He is asking how to check odd number lines in a code and ignore the even number lines
+ 1
See this question:
https://stackoverflow.com/questions/17908317/JUMP_LINK__&&__python__&&__JUMP_LINK-even-numbered-lines-in-text-file
It's exactly the opposite of what you need. If you use your brain, you can do what you need by editing the answer a little.
0
We should read the odd lines