mirror of
https://hub.njuu.cf/TheAlgorithms/Python.git
synced 2023-10-11 13:06:12 +08: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()
|