base code for learn python