code: def get_python_version():
      """
      A convenience function to get the python version used to run this
      tutorial. This ensures that the conda environment is created with an
      available version of python.
  
      """
      import platform
  
      versions = {"2": "2.7.15", "3": "3.9.10"}
      return versions[platform.python_version_tuple()[0]]
  
file_path: metaflow/metaflow/tutorials/04-playlist-plus/playlist.py
imports: from metaflow import FlowSpec, step, Parameter, conda, conda_base
label_desc: Use image node_id 1 for calling a global function with example usage: get_python_version() and returns: versions