Python code development for Week 9 group assignment.