input: Write a function to reverse a given string. The function should take a single parameter which is a string and return the reversed version of that string.
  input_string = "Python"
  assert reverse_string(input_string)=="nohtyP"
output: def reverse_string(s):
      return s[::-1]