Well it does seem to be a cute filter for Python programming ability in that they definitely need to have taken a tour of the modern standard library to come up with
It's really just to make the point that you will need to write real code and answer technical questions in this process. And it provides an easy way to for them to drop out if they decide they don't want to do that.