code: def main():
      print(
          "Lock Type           Threads           Acquisitions (kHz)   Fairness"
      )
      for lock_type in ["PyMutex", "PyThread_type_lock"]:
          use_pymutex = lock_type == "PyMutex"
          for num_threads in range(1, MAX_THREADS + 1):
              acquisitions, thread_iters = benchmark_locks(
                  num_threads, use_pymutex, CRITICAL_SECTION_LENGTH
              )
  
              acquisitions /= 1000  # report in kHz for readability
              fairness = jains_fairness(thread_iters)
  
              print(
                  f"{lock_type: <20}{num_threads: <18}{acquisitions: >5.0f}{fairness: >20.2f}"
              )
  
label_desc: Use image node_id 2 for calling a global function with example usage: main() without return types