Feb-19-2020, 06:08 PM
import itertools numbers = [1,2,3,4,5,6,7,8,9,10] result = itertools.permutations(numbers,2) for item in result: print (item)Simple, I know, but escaping me me how to count the permutations of paired numbers in the list created.