Input for the lists:
input1 = ['A,B,C,D,E',
'"111","112","113","114","115"',
'"211","212","213","214","215"']
input2 = ['A,B,C,D,E',
'"111","112","113","114","115"',
'"211","212","213","214","215"',
'"311","312","313","314","315"',]
output = ['A,B,C,D,E',
'"111","112","113","114","115"',
'"211","212","213","214","215"',
'"311","312","313","314","315"',]
output should have all the entries out of the two...
for line1, line2 in zip(input1,input2):
temp1 = line1.split(',')
temp2 = line2.split(',')
In the above code both lists are of different lengths....also i want to iterate till the end of the longest list out of the two
I tried finding answers but couldnt so....