practice and work from LearnPythonTheHardWay