I want to read 4 or 6 lines at a time. I hope you guys can help me with this problem.
with open('readme.txt') as f:
list_of_4tuples = [ (line,f.readline()) for line in f ]
for (line1,line2,line3,line4) in list_of_4tuples: # Work with them in pairs.
print(f'a: {line1}{line2}{line3}{line4}')