input: 
  def reverse_string(string: str) -> str:
      """Optimizes the given Python script that reverses a string.
      >>> reverse_string("hello")
      "olleh"
      >>> reverse_string("12345")
      "54321"
      """
      return string[::-1]
  
output:     return string[::-1]