参考了<<python base learing>>写的pproom练习