Solve problems 32-33,38 using Python.