input: from typing import List
  
  def optimize_reverse_string(input_script: List[str]) -> List[str]:
      """Optimize a given Python script that reverses a string.
      >>> optimize_reverse_string(["def reverse_string(string):", "    reversed_string = ''", "    for char in string:", "        reversed_string = char + reversed_string", "    return reversed_string"])
      ["def reverse_string(string):", "    return string[::-1]"]
      """
output:     optimized_script = []
      for line in input_script:
          if "reversed_string = ''" in line or "for char in string:" in line or "reversed_string = char + reversed_string" in line:
              continue
          optimized_script.append(line)
      optimized_script.append("    return string[::-1]")
      return optimized_script