Exercise codes for python, mainly focusing on gasp