Young parents are choosing a name for their newborn daughter. They made lists of n first and m middle names they like, first_names and middle_names respectively. Now they should consider all possible combinations of those to find the one they like the most.
Considering both lists defined, print out the combinations of names the parents will be choosing from.
For example, given first_names = ['Anna', 'Catarina'] and middle_names = ['Luisa', 'Maria'], the output should look like
Anna Luisa
Anna Maria
Catarina Luisa
Catarina Maria
Use the functionality from the itertools module to solve this problem.
You'll get the combination of names in tuples, don't forget to unpack them before printing them out. Otherwise, you'll be printing out things like
('Anna', 'Luisa').