code: def scan(op, seq, it):
      a = []
      result = it
      a.append(it)
      for x in seq:
          result = op(result, x)
          a.append(result)
      return a
  
label_desc: Use image node_id 2 for calling a global function with example usage: scan(op, seq, it) and returns: a