I have two lists of different length that I want to print side by side, separated by a tab. As an example:
a_list = ["a","b","c","d","e"]
b_list = ["f","g","h","i","j","k","l","m","n"]
I tried:
print('A-list:'+ '\t' + 'B-list:')
for i in range(len(b_list)):
print(a_list[i] + '\t' + b_list[i])
I off course get an "out of range-trace" back because one list is shorter. I do not wish to use zip.