coursera assignments - written in python