Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from itertools import permutations
- perm = permutations(['A', 'B', 'C', 'D'])
- for i in list(perm):
- print(i)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement