Answers for "comibataion of two list"

6

comibataion of two list

a = ["foo", "melon"]
b = [True, False]
c = list(itertools.product(a, b))
>> [("foo", True), ("foo", False), ("melon", True), ("melon", False)]
Posted by: Guest on April-21-2020

Code answers related to "comibataion of two list"

Python Answers by Framework

Browse Popular Code Answers by Language