input: def install_software(software_version: str) -> str:
      """ Construct a bash script that can install the given software version.
      Example:
      for install_software('Python 3.8.5') == '#!/bin/bash\n\n# Download latest version of Python\n'\
      'curl -O https://www.python.org/ftp/python/3.8.5/Python-3.8.5.tgz\n\n'\
      '# Extract the tgz file\n'\
      'tar -xzf Python-3.8.5.tgz\n\n'\
      '# Move into the Python directory\n'\
      'cd Python-3.8.5\n\n'\
      '# Run the configure script\n'\
      './configure\n\n'\
      '# Compile and install\n'\
      'make\n'\
      'make install'
      """
output:     
      return f"""#!/bin/bash
  
  # Download latest version of {software_version}
  curl -O https://www.python.org/ftp/python/{software_version.split()[-1]}/{software_version.replace(' ', '-')}.tgz
  
  # Extract the tgz file
  tar -xzf {software_version.replace(' ', '-')}.tgz
  
  # Move into the {software_version} directory
  cd {software_version.replace(' ', '-')}
  
  # Run the configure script
  ./configure
  
  # Compile and install
  make
  make install"""
  