code: def wrap_line(s, line_width=120, sep="\n"):
      ls = s.split(sep)
      outs = []
      for line in ls:
          while len(line) > line_width:
              outs.append(line[:line_width])
              line = line[line_width:]
          outs.append(line)
      return sep.join(outs)
  
imports: import asyncio
  import math
  import time
  from collections import defaultdict
  from tabulate import tabulate
label_desc: Use image node_id 1 for calling a global function with example usage: wrap_line(s, line_width, sep) and returns: sep