input: Write a function to construct a script in Bash that can install a given software. The function should take the software name and version as inputs and return the Bash script as a string.
  
  def create_install_script(software_name, version):
      script = f"""#!/bin/bash
  
  # Download latest version of {software_name}
  curl -O https://www.python.org/ftp/python/{version}/{software_name}-{version}.tgz
  
  # Extract the tgz file
  tar -xzf {software_name}-{version}.tgz
  
  # Move into the {software_name} directory
  cd {software_name}-{version}
  
  # Run the configure script
  ./configure
  
  # Compile and install
  make
  make install"""
      return script
  
  assert create_install_script("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"""
  assert create_install_script("Java", "11.0.2") == """#!/bin/bash
  
  # Download latest version of Java
  curl -O https://download.java.net/java/GA/jdk11/9/GPL/openjdk-11.0.2_linux-x64_bin.tar.gz
  
  # Extract the tgz file
  tar -xzf openjdk-11.0.2_linux-x64_bin.tar.gz
  
  # Move into the Java directory
  cd openjdk-11.0.2_linux-x64_bin
  
  # Run the configure script
  ./configure
  
  # Compile and install
  make
  make install"""
output: def create_install_script(software_name, version):
      script = f"""#!/bin/bash
  
  # Download latest version of {software_name}
  curl -O https://www.python.org/ftp/python/{version}/{software_name}-{version}.tgz
  
  # Extract the tgz file
  tar -xzf {software_name}-{version}.tgz
  
  # Move into the {software_name} directory
  cd {software_name}-{version}
  
  # Run the configure script
  ./configure
  
  # Compile and install
  make
  make install"""
      return script