I have two list of list data and I am trying to concatenate the two list of data in python. I used regular expression in extracting data from my desired file and collected the required fields by creating a list. For example if the list 1 and list 2 has data:
lst1 = [['60', '27702', '1938470', '13935', '18513', '8'], ['60', '32424', '1933740', '16103', '15082', '11'], ['60', '20080', '1946092', '9335', '14970', '2']]
lst2 = [['2', '1'], ['11', '1'], ['12', '1']]
I will like to see the data like below:
lst3 = [[60, 27702, 1938470, 13935, 18513, 8, 2, 1],
[60, 32424, 1933740, 16103, 15082, 11, 11, 1],
[60, 20080, 1946092, 9335, 14970, 2, 12, 1]]
How do I receive lst3 ??