Minor updates to Python solutions