input: 
  def rev_string(s: str) -> str:
      """Reverses an input string and returns the reversed string.
      
      >>> rev_string("Hello World!")
      '!dlroW olleH'
      >>> rev_string("Python")
      'nohtyP'
      """
  
output:     return s[::-1]