code: def main(argv: Optional[Sequence[str]] = None) -> None:
      
      parser = ArgumentParser(description="Convert Jupyter Notebook exams to PDFs")
      parser.add_argument(
          "--exam",
          type=int,
          required=True,
          help="Exam number to convert",
          dest="exam_num",
      )
      parser.add_argument(
          "--time", type=str, required=True, help="Time of exam to convert"
      )
      parser.add_argument(
          "--date", type=str, required=True, help="The date the exam will take place"
      )
      args = parser.parse_args(argv)
      process(args.exam_num, args.time, args.date)
docs: Parse arguments and process the exam assignment.