Skip to content
Sign upLog in
← Back to Community

4.8. For: Sum of factorials

Profile icon
pole55

"In mathematics, the factorial of an integer n, denoted by n! is the following product: n! = 1 × 2 × … × n

For the given integer n calculate the value 1! + 2! + 3! + ... + n!

Try to discover the solution that uses only one for-loop. And don't use math module in this exercise."

Voters
Profile icon
rvn-mqdvnsqy
Profile icon
HollieChapman
Profile icon
craner1
Profile icon
RaviHuyts
Profile icon
anamartinezb
Profile icon
AnnaLatawiec
Profile icon
SaraAlmu
Profile icon
Dari0Gonzalez
Profile icon
tomsfy
Profile icon
Nrrbarc