You can use a loop, a recursive function and a few other ways.
Try to figure out your own solution, only practice makes you a programmer.
If you can't get it to run, you can link your attempt here, we'll try to help you with a hint instead of the answer.
Try this one.....
for i in range (1,x):
num=int(input('Enter a number:'))
print('Factorial of',num,'is 1')