Merge pull request #2205 from vsemozhetbyt/patch-8

Fix a typo in 1.6.1 task solution
This commit is contained in:
Ilya Kantor 2020-11-11 18:54:20 +03:00 committed by GitHub
commit 32d4f13ce3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
By definition, a factorial is `n!` can be written as `n * (n-1)!`.
By definition, a factorial `n!` can be written as `n * (n-1)!`.
In other words, the result of `factorial(n)` can be calculated as `n` multiplied by the result of `factorial(n-1)`. And the call for `n-1` can recursively descend lower, and lower, till `1`.