input: Write a python function to remove the last character of a string.
  assert remove_last_char("hello") == "hell"
  assert remove_last_char("world!") == "world"
  assert remove_last_char("python") == "pytho"
output: def remove_last_char(s):
      return s[:-1]