Posts by Silva • 21 points
1 post
-
2
votes1
answer509
viewsQ: Calculate the Cartesian product with functional programming
I’m writing a Python function that takes two lists and returns a list of tuples with the Cartesian product of the input function. I cannot use any ready-made Python library function. Ex:…