code: def assert_python_version(expected_python_version: str) -> None:
      actual_major, actual_minor = sys.version_info[:2]
      actual_version = f"{actual_major}.{actual_minor}"
      expected_version = expected_python_version.strip()
      assert expected_version == actual_version, (
          f"Expected Python version expected_version={expected_version}, "
          f"actual_version={actual_version}"
      )
  
imports: from typing import List
  import argparse
  import sys
label_desc: Use image node_id 2 for calling a global function with example usage: assert_python_version(expected_python_version) without return types