"""
Title - Write a Python program to generate all permutations of a list in Python.
Author name - Aditya Kumar
Ceation time - ‎‎05 ‎March ‎2021 ‏‎
Modified time - ‎‎‎05 ‎March ‎2021‎

""" 
import itertools

list1 = [1, 2 , 3, 4]
print(list(itertools.permutations(list1)))
