Practice code for learning python