7 lines
160 B
Python
Raw Normal View History

2018-04-26 08:53:17 +05:30
from itertools import permutations
def main():
result=list(map("".join, permutations('0123456789')))
print(result[999999])
if __name__ == '__main__':
main()