code: def solve(m):
      pair = dict(((n, sum(divisors(n))) for n in range(1, m)))
      return sum(
          n
          for n in range(1, m)
          if pair.get(pair[n], 0) == n and pair[n] != n
      )
  
label_desc: Use image node_id 2 for calling a global function with example usage: solve(m) and returns: sum