Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import itertools
- d = int(input())
- hex_d = hex(d)[2:]
- hex_set = list(hex_d)
- perm_set = itertools.permutations(hex_set)
- for i in perm_set:
- print(i)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement