Answers for "Using python permutations function on a list"

0

Using python permutations function on a list

from itertools import permutations
a=permutations([1,2,3,4],2) 
for i in a: 
   print(i)
Posted by: Guest on April-10-2022

Python Answers by Framework

Browse Popular Code Answers by Language