input: 
  def install_software(software_name: str, version: str) -> str:
      """ Given a software name and version, construct a Bash script to install the software.
      The script should download the specified version, extract it, and then install it.
      >>> install_software('Python', '3.8.5')
      '#!/bin/bash\n\n# Download latest version of Python\n...# Compile and install\nmake\nmake install\n'
      """
  
output:     script = f"""#!/bin/bash
  
  # Download {software_name} version {version}
  wget https://www.python.org/ftp/python/{version}/Python-{version}.tgz
  
  # Extract the downloaded file
  tar -xzf Python-{version}.tgz
  
  # Change directory to the extracted folder
  cd Python-{version}
  
  # Configure the installation
  ./configure
  
  # Compile and install
  make
  make install
  """
      return script