0
Help
https://code.sololearn.com/cRnywf6jKaoO/?ref=app Why does this code print None 2 instead of 1 2?
1 Answer
+ 1
In your Else statement you are not returning the value when you call function
Do this
else:
x-=1
return function(x)