Cartesian product of two lists in python
Cartesian product of two lists in python list1 = ['a', 'b'] list2 = [1, 2, 3, 4, 5] Expected Output: list3 = ['a1', 'a2', 'a3', 'a4', 'a5', 'b1', 'b2', 'b3', 'b4', 'b5'] Answers: Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue … Read more