So I have two list
A = ['astr1', 'astr2', 'astr3']
and
B = ['bstr11','bstr12']
now I want a final list which sould be a combination of two and will look like this,
C = [['astr1', 'bstr11','bstr12'], ['astr2', 'bstr11','bstr12'], ['astr3', 'bstr11','bstr12']]
I tried extending list A using for loop over B but since it happens on single elements as strings, extend doesn't work. any leads ?
EDIT:
for i in range(len(A)):
A[i].extend(B)