code: def perf_to_time(text):
      for line in text.split("\n"):
          if re.match(r"^\s*$", line):
              continue
          line = line.strip()
          words = line.split()
          words[-1] = seconds_to_time(words[-1])
          out = " ".join(words)
          print(out)
  
imports: import datetime
  import math
  import re
label_desc: Use image node_id 2 for calling a global function with example usage: perf_to_time(text) without return types