Create a test.txt file and add the below content to it.
# read file
with open("test.txt", "r") as fp:
# read all lines from a file
lines = fp.readlines()
# get line number 3
total answers (1)
start bookmarking useful questions and collections and save it into your
own study-lists, login now to start creating your own collections.