X513: Factorial Python

Write a function in Python called 'factorial()' that will take a positive integer as input and returns its factorial as output. backwards.

Your Answer:

Reset

Practice a different Python exercise

Feedback

Your feedback will appear here when you check your answer.