input: from typing import Tuple
  
  def install_software(software_version: str) -> Tuple[str, str]:
      """ Constructs a Bash script to install a given software version.
      The function takes a software version as input and returns the script in a tuple format.
      The first element of the tuple is the script to be executed, and the second element is the output after running the script.
      >>> install_software("Python 3.8.5")
      ("""
  #!/bin/bash
  
  # Download latest version of Python
  curl -O https://www.python.org/ftp/python/3.8.5/Python-3.8.5.tgz
  
  # Extract the tgz file
  tar -xzf Python-3.8.5.tgz
  
  # Move into the Python directory
  cd Python-3.8.5
  
  # Run the configure script
  ./configure
  
  # Compile and install
  make
  make install
      """, '')
      """
      >>> install_software("Node.js 14.15.4")
      ("""
  #!/bin/bash
  
  # Download latest version of Node.js
  curl -O https://nodejs.org/dist/v14.15.4/node-v14.15.4.tar.gz
  
  # Extract the tar.gz file
  tar -xzf node-v14.15.4.tar.gz
  
  # Move into the Node.js directory
  cd node-v14.15.4
  
  # Run the configure script
  ./configure
  
  # Compile and install
  make
  make install
      """, '')
      """
      return ("", "")
output:     
      if software_version.startswith("Python"):
          version = software_version.split()[1]
          script = f"""
  #!/bin/bash
  
  # Download latest version of Python
  curl -O https://www.python.org/ftp/python/{version}/Python-{version}.tgz
  
  # Extract the tgz file
  tar -xzf Python-{version}.tgz
  
  # Move into the Python directory
  cd Python-{version}
  
  # Run the configure script
  ./configure
  
  # Compile and install
  make
  make install
  """
          return (script, '')
      elif software_version.startswith("Node.js"):
          version = software_version.split()[1]
          script = f"""
  #!/bin/bash
  
  # Download latest version of Node.js
  curl -O https://nodejs.org/dist/v{version}/node-v{version}.tar.gz
  
  # Extract the tar.gz file
  tar -xzf node-v{version}.tar.gz
  
  # Move into the Node.js directory
  cd node-v{version}
  
  # Run the configure script
  ./configure
  
  # Compile and install
  make
  make install
  """
          return (script, '')
      else:
          return ("", "")
  