What us the impact of itertools.product if input is a=[2,4] & b=[7,8]. if answer required is (2,7) (2,8) (2,9) (4,7) (4,8) (4,9) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

What us the impact of itertools.product if input is a=[2,4] & b=[7,8]. if answer required is (2,7) (2,8) (2,9) (4,7) (4,8) (4,9)

25th Aug 2019, 7:36 AM
Amit Saxena
Amit Saxena - avatar
1 Answer
+ 1
Exactly i was also got confused. In Techgig PYTHON Challenge on cartesian product required this output on this input. Thus i posted this query for guidance
31st Aug 2019, 9:42 AM
Amit Saxena
Amit Saxena - avatar