some codes when I'm learning python