Suppose I have a list, L = [13,10,8,5] then what is the best way to create these pairs…
(13,10), (13,8), (13,5), (10,8), (10,5) and (8,5)
In python
print list(product[l] , repeat = 2)
1 Like
Suppose I have a list, L = [13,10,8,5] then what is the best way to create these pairs…
(13,10), (13,8), (13,5), (10,8), (10,5) and (8,5)
In python
print list(product[l] , repeat = 2)