mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-28 02:53:45 +08:00
Added Solution
Added Solution for Problem 20
This commit is contained in:
@ -52,3 +52,7 @@ PROBLEMS:
|
||||
|
||||
16. 2^15 = 32768 and the sum of its digits is 3 + 2 + 7 + 6 + 8 = 26.
|
||||
What is the sum of the digits of the number 2^1000?
|
||||
20. n! means n × (n − 1) × ... × 3 × 2 × 1
|
||||
For example, 10! = 10 × 9 × ... × 3 × 2 × 1 = 3628800,
|
||||
and the sum of the digits in the number 10! is 3 + 6 + 2 + 8 + 8 + 0 + 0 = 27.
|
||||
Find the sum of the digits in the number 100!
|
||||
|
Reference in New Issue
Block a user