mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-28 15:31:08 +00:00
5 lines
124 B
Python
5 lines
124 B
Python
|
from math import factorial
|
||
|
def main():
|
||
|
print(sum([int(x) for x in str(factorial(100))]))
|
||
|
if __name__ == '__main__':
|
||
|
main()
|