mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-19 19:03:02 +08:00
snake_case all the things
This commit is contained in:
7
project_euler/problem_24/sol1.py
Normal file
7
project_euler/problem_24/sol1.py
Normal file
@ -0,0 +1,7 @@
|
||||
from itertools import permutations
|
||||
def main():
|
||||
result=list(map("".join, permutations('0123456789')))
|
||||
print(result[999999])
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
Reference in New Issue
Block a user