so i was wondering, for this function how would you be able to read a certain line from a text file that has multiple lines because from what i read about its definition it does not seem to be possible.
text file looks like this:
(
monkeys
dogs
cats
birds
)
and i want the function to read only cats. can i get some help thanks.