pythonlearn homework from python learning camp git教程: https://www.cnblogs.com/wmr95/articles/7768492.html