Quickpaste.it
Create Paste
Top Pastes
Recent Pastes
Settings
Account
Factorial
Created By
Anonymous
Expires never
Raw
Download
0
def fact(n): if n==1: return 1 elif n>1: return n*fact(n-1) n=int(input("Enter the number :")) print("Factorial of ",n ," is = ",fact(n))