Python work for Coursera course