def factorial(num):
    fac = 1

    for i in range(num):

        fac = fac * (i + 1)
    print(fac)

arg = int(input("Input a number to get its factorial: "))

factorial(arg)

import math
print(math.factorial(arg))
4404b2a08269128f31b76b0773e5819472db6539
def factorial(num):
    fac = 1
    for i in range(num):
        fac = fac * (i + 1)
    print(fac)


<mask token>

def factorial(num):
    fac = 1
    for i in range(num):
        fac = fac * (i + 1)
    print(fac)


<mask token>
factorial(arg)
<mask token>
print(math.factorial(arg))

def factorial(num):
    fac = 1
    for i in range(num):
        fac = fac * (i + 1)
    print(fac)


arg = int(input('Input a number to get its factorial: '))
factorial(arg)
<mask token>
print(math.factorial(arg))

def factorial(num):
    fac = 1
    for i in range(num):
        fac = fac * (i + 1)
    print(fac)


arg = int(input('Input a number to get its factorial: '))
factorial(arg)
import math
print(math.factorial(arg))

def factorial(num):
    fac = 1

    for i in range(num):

        fac = fac * (i + 1)
    print(fac)

arg = int(input("Input a number to get its factorial: "))

factorial(arg)

import math
print(math.factorial(arg))