mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-25 05:51:08 +00:00
7 lines
160 B
Python
7 lines
160 B
Python
from itertools import permutations
|
|
def main():
|
|
result=list(map("".join, permutations('0123456789')))
|
|
print(result[999999])
|
|
|
|
if __name__ == '__main__':
|
|
main() |