code: def pyspark_parallel_seq(sc, tasks, task_duration, workers):
      for i in range(tasks // workers):
          nums = sc.parallelize([task_duration for i in range(workers)])
          nums.map(sleep_worker).collect()
  
imports: import time
  import fiber
  import multiprocessing
  import logging
  import subprocess
  import argparse
  from pprint import pprint
label_desc: Use image node_id 9 for calling a global function with example usage: pyspark_parallel_seq(sc, tasks, task_duration, workers) without return types