Task:
Given a positive integer `n`, write a function `getdigits` which returns a list of digits in `n`, in base 10.
Here's the trick with recursion: we need to state the solution of the problem in terms of a different input to the same problem.
In this case, the problem is "given a number N, find all the digits of N", and we need to write this in a function called getdigits. One solution to this problem is: "To get the digits of N, first remove the last digit from N, then get all the digits of that number, then add on the last digit of N." Before you read on, convince yourself that this is a correct solution (though maybe we don't quite know how to write Python code to solve it).
Now, how do we do this? Here's the bits we need to do: