python coursework