practice code of python