I have two lists and I want to append one with another, like this:
a = [['bmw'], ['audi'], ['benz'], ['honda']]
b = [[12,2], [3,4], [7,5], [6,23]]
new list should be like this:
n = [['bmw', 12, 2], ['audi', 3, 4], ['benz', 7, 5], ['honda', 6, 23]]
I try this but it didn't work:
for i, j in a, b:
a[i].append(b[j])