Using Python version 3
I am using the code:
f = open("cinema.txt","r")
print(f.read())
This then goes on to open the cinema text file. This text file contains 50 lines containing 50 movie titles.
What I want to do is to be able to read for example line 5. I also want to be able to read for example lines 15-20. Can someone please advise what is the extra bit I need to add into the code. I have searched around on the Internet but I can't find an answer that work.