code: def binary2num(bin):
      bin = strjoin(bin.split())
      l = 0
      for digit in bin:
          l = l << 1
          if digit != "0":
              l = l | 0x1
      return l
  
imports: import ast
  import string
label_desc: Use image node_id 5 for calling a global function with example usage: binary2num(bin) and returns: l