py solutions_31-40