code: def p(msg):
      print(msg)
      sys.stdout.flush()
  
imports: import gc
  import sys
  import weakref
  from random import randint, seed
  import pyqtgraph
  from pyqtgraph.Qt import QtTest
label_desc: Use image node_id 3 for calling a global function with example usage: p(msg) without return types