homework on coursera python course with CodeSkulptor