Solve problems 30,34,43-44,47,52 using Python.