learn python demo code