input: 
  def reverse_string(string: str) -> str:
      """ Return a reversed version of the given string using optimized code.
      >>> reverse_string("Hello World")
      'dlroW olleH'
      >>> reverse_string("Python3")
      '3nohtyP'
      """
      return string[::-1]
  
output:     return string[::-1]