input: Write a function to reverse a string.
  assert reverseString("hello") == "olleh"
  assert reverseString("world") == "dlrow"
  assert reverseString("Python") == "nohtyP"
output: def reverseString(s: str) -> str:
      return s[::-1]