input: Write a python function to delete the last character from a given string.
  assert delete_last_char("Hello World!") == "Hello World"
  assert delete_last_char("Python") == "Pytho"
  assert delete_last_char("a") == ""
output: def delete_last_char(s):
      return s[:-1]