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:
5
project_euler/problem_20/sol2.py
Normal file
5
project_euler/problem_20/sol2.py
Normal file
@ -0,0 +1,5 @@
|
||||
from math import factorial
|
||||
def main():
|
||||
print(sum([int(x) for x in str(factorial(100))]))
|
||||
if __name__ == '__main__':
|
||||
main()
|
Reference in New Issue
Block a user