In mathematics, the notation n! represents the factorial of the nonnegative integer n. The factorial of n is the product of all the nonnegative integers from 1 to n. For example,
7! = 1 X 2 X 3 X 4 X 5 X 6 X 7 = 5,040
and
4! = 1 X 2 X 3 X 4 = 24
Write a program that lets the user enter a nonnegative integer then uses a loop to calculate the factorial of that number. Display the factorial. in python
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here