Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2
From a mathematical point of view, the factorial of a number "n" is written as "n!", and it's the result of n*(n-1)*...*1. For example, the factorial of 5 is 5!=5*4*3*2*1=120. By convention, 0!=1, and the factorial is only defined for positive integers.
5th Dec 2016, 4:39 PM
Álvaro