learning python in class