2 Respuestas
+ 5
Yes
You could have your base case print(something), then on the next line put return
The return will stop the recursion without returning a value
+ 2
Yes. You can have the function print a value or do some other action instead of return a value. It is only necessary that the input value signals the end of recursion.
Edit: Oops, Somehow I overlapped with Rik Wittkopp's answer. It was not there at first when I viewed the question.