aboutsummaryrefslogtreecommitdiff
path: root/python/024-lexicographic_permutations.py
blob: d24eb7cb687b8ebd82a652fcf31ce0794ca00d48 (plain)
1
2
3
4
5
6
from helper.other import n_digits_pandigital

nine_digits_perm = n_digits_pandigital(10, True)

print(nine_digits_perm[999_999])
# print(nine_digits_perm)