mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-12-18 09:10:16 +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() |