in-class work from python