some codes for learning python