I\'m using a for loop to read a file, but I only want to read specific lines, say line #26 and #30. Is there any built-in feature to achieve this?
Thanks
if you want line 7
line = open("file.txt", "r").readlines()[7]