1. Factorial of any number n is represented by n! and is equal to 123....(n-1)n. E.g.- 4 = 1234 = 24 3 = 321 = 6 2 = 21 = 2 Also, 1 = 1 0 = 1 Write a program to calculate factorial of a number. -checkpoint.ipynb
1. Factorial of any number n is represented by n! and is equal to 123....(n-1)n. E.g.- 4 = 1234 = 24 3 = 321 = 6 2 = 21 = 2 Also, 1 = 1 0 = 1 Write a program to calculate factorial of a number. -checkpoint.ipynb
Loading