some codes for my daughter's python learning