Python Program To Find a Factorial Of Number
- Explanation:
Output = 24
Factorial(4!) = 1 x 2 x 3 x 4
- Code:
#Find a factorial of number
Num=int(input('Enter the number:'))
factorial=1
for i in range(1,Num+1):
factorial*=i
print('Factorial of Number:',factorial)
- For Image View Of Compiled Program 👇
Python Program To Find a Factorial Of Number - CodexRitik
Reviewed by CodexRitik
on
June 23, 2020
Rating:
Thanks For Positive Feedback.
ReplyDelete