code: def missing_ranges(arr, lo, hi):
      res = []
      start = lo
  
      for n in arr:
          if n == start:
              start += 1
          elif n > start:
              res.append((start, n - 1))
              start = n + 1
  
      if start <= hi:  # after done iterating thru array,
          res.append((start, hi))  # append remainder to list
  
      return res
  
label_desc: Use image node_id 1 for calling a global function with example usage: missing_ranges(arr, lo, hi) and returns: res