finished python q2