Some practice code to learn python