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