Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = list(range(1,501))
- from itertools import permutations
- result = list(permutations(x))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement