5/15 please help


#1

HELLO :slightly_smiling:

Please help me understand. What are factorials?

Also, could you translate the following code in layman terms? Thanks!


#2

A factorial is a math operation. Google explains it well:

Factorials are very simple things. 
They're just products, indicated by an exclamation mark. 
For instance, "four factorial" is written as "4!" and means 1×2×3×4 = 24. 
In general, n! ("enn factorial") means the product of all the whole numbers from 1 to n; that is, n! = 1×2×3×...×n.