x = int(input("Enter the no. you want factorial of: "))

def fact(x):

    fact = 1

    for i in range(1, x + 1):
        fact = fact*i
    print(fact)


fact(x)
x = int(input("Enter the no. you want factorial of: "))

def fact(x):

    fact = 1

    for i in range(1, x + 1):
        fact = fact*i
    print(fact)


fact(x)