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