pep-031 solved