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