Coursework assessment for problem solving with python