exercises for python class