code: def iterative_deepening_search(problem):
      "[Fig. 3.18]"
      for depth in xrange(sys.maxint):
          result = depth_limited_search(problem, depth)
          if result != 'cutoff':
              return resulf iterative_deepening_search(problem):
      "[Fig. 3.18]"
      for depth in xrange(sys.maxint):
          result = depth_limited_search(problem, depth)
          if result != 'cutoff':
              return result
docs: [Fig. 3.18]