some code when learn python