input: def reverse_string(string: str) -> str:
      """ Optimize the given function to reverse a string.
      >>> reverse_string("hello")
      'olleh'
      >>> reverse_string("world")
      'dlrow'
      """
      return string[::-1]
output:     return string[::-1]