PYTHON :- Factorial of a number

num = int(input(" Enter a number :-  "))
fact=1
while(num>=1):
    fact=fact*num
    num=num-1
print("FActorial of a number: ",fact)





For Other Programs Visit The WebSite:-   https://www.techapurba.com/

Follow Me On Social Media :-

For tech related videos visit my other website :- https://apurbatechinfo.blogspot.com/

Post a Comment

0 Comments