Python tutorial solutions and code