def find_factorial(number):
factorial = 1 # fix for multiplication
for item in range(2, number + 1): # iterate loop at number + 1 items
factorial *= item; # mutiple current item to previous value
return factorial; # return after calculation
print("factorail ", find_factorial(5))
Answer:120
Explanation:
5! = 5 × 4 × 3 × 2 × 1 = 120.
Markdown for AI
A clean, structured version of this page for AI assistants and LLMs.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
Answer:
120Explanation:
5! = 5 × 4 × 3 × 2 × 1 = 120.