44.4k views
3 votes
Complete the function to return the factorial of the parameter using recursion,

def recursiveFactorial(number):
if number
return number * recursiveFactorial
else:
return 1
stringNum = input("Enter a positive integer: ")
num = int(stringNum)
print(recursiveFactorial(num))

User Superdunck
by
4.9k points

1 Answer

1 vote

Answer:

>1

-1

Step-by-step explanation:

i took the test and here is the real answer. hope this helps!!!!! ;*

User Jelmer
by
5.0k points