Posts by Patrick Santana • 21 points
1 post
-
2
votes1
answer47
viewsQ: The function returns None although the variable saves the correct result
I must do a function that returns the odd elements of a list using recursion. I saved the list with the odd ones in the variable I, and when return this variable the result is None. def…