I'm sure I'm making a simple error but in my function looking to return the factorial of a user given input when the input isn't 1 or 0 it actually just returns none. I printed out what it was doing within the helper function and it looks like it obtained the proper result but when I run it as below it returns none. Please let me know what obvious oversight I'm making. Thanks.
def recurseFactorial(num, mySum):
if num==0 or num==1:
return mySum
else:
recurseFactorial(num-1,mySum=mySum*num)
while True:
myInput = input("Please enter the number: ")
print(recurseFactorial(int(myInput), 1))