Write a function that computes the factorial of a number
Implement factorial(n) for a nonnegative integer n. Return n!, where 0! is defined as 1; inputs are integers from 0 through 100.
factorial(n)
n
n!
0!
1
0
100
def factorial(n):
Whenever you're ready, walk me through your approach or go straight to the code. The requirements are in the Question tab.