sample code & exercises for the python course