Answers for "# write a python program to generate all permutations of a list in python."

12

all permutations python

import itertools
print(list(itertools.permutations([1,2,3])))
Posted by: Guest on May-02-2020

Code answers related to "# write a python program to generate all permutations of a list in python."

Python Answers by Framework

Browse Popular Code Answers by Language