Learning python through practice