ozgn6392yactually this post must contain minimum six characters but there is only three character
rhein712342yThis was the reason for loosing many points in my Math exams 😂
cst199222722yThis has two interpretations:
1. Factorial of 0 is 1
2. 0 is not equal to 1
Both are mathematical facts.
What's the problem?
!= is not used standard math but instead ≠ is used. On the other hand, in programming there is no postponed unary operator !, so 0! is meaningless for programmers but means factorial for maths. Given that there are no spaces to differentiate whether ! is referred to 0 or to =, mathematicians should interpret it as 0! = 1 (factorial of 0 equals 1), while programmers should interpret it as 0 != 1 (0 not equal to 1)