code: def interpreter_version(*, warn: bool = False) -> str:
      """
      Returns the version of the running interpreter.
      """
      version = _get_config_var("py_version_nodot", warn=warn)
      if version:
          version = str(version)
      else:
          version = _version_nodot(sys.version_info[:2])
      return version
  
imports: import logging
  import platform
  import sys
  import sysconfig
  from importlib.machinery import EXTENSION_SUFFIXES
  from typing import Dict, FrozenSet, Iterable, Iterator, List, Optional, Sequence, Tuple, Union, cast
  from .None import _manylinux, _musllinux
label_desc: Use image node_id 18 for calling a global function with example usage: interpreter_version() and returns: version