Homework2B.python