code: def main():
      """Main program when invoked as a script.
  
      One argument: tabulate a single row.
      Two arguments: tabulate a range (inclusive).
      Extra arguments are used to seed the random generator.
  
      """
      # default range (inclusive)
      k1 = 15
      k2 = 20
      if sys.argv[1:]:
          # one argument: single point
          k1 = k2 = int(sys.argv[1])
          if sys.argv[2:]:
              # two arguments: specify range
              k2 = int(sys.argv[2])
              if sys.argv[3:]:
                  # derive random seed from remaining arguments
                  x = 1
                  for a in sys.argv[3:]:
                      x = 69069 * x + hash(a)
                  random.seed(x)
      r = range(k1, k2 + 1)  # include the end point
      tabulate(r)
  
file_path: cpython/Lib/test/sortperf.py
imports: import sys
  import time
  import random
  import marshal
  import tempfile
  import os
label_desc: Use image node_id 5 for calling a global function with example usage: main() without return types