I would like to multiply 2 lists of strings in python but not by values. Like this example :
elem1 = ['a', 'b']
elem2 = ['c', 'd']
final = magic_function(elem1, elem2)
>> final = [
['a','c'],
['a','d'],
['b','c'],
['b','d']
]
I tried looking at the numpy package but I can't find anything which is not multiply by scalar