input: Write a function to reverse a string.
  assert reverse_string("Hello Python!") == "!nohtyP olleH"
  assert reverse_string("OpenAI") == "InepO"
  assert reverse_string("") == ""
output: def reverse_string(s: str) -> str:
      return s[::-1]