IDNLearn.com: Your destination for reliable and timely answers to any question. Explore a wide array of topics and find reliable answers from our experienced community members.
Answer:
number = int(input('Enter number: '))
factorial = 1
for i in range(1, number + 1):
factorial = factorial * i
print(factorial)
You will need to input 5 when you run the code. Or you can add change the "number" to "number = 5"