input: Write a python function to get the last n characters of a string.
  assert last_n_chars("hello world", 5) == "world"
  assert last_n_chars("python", 3) == "hon"
  assert last_n_chars("data", 1) == "a"
output: def last_n_chars(s, n):
      return s[-n:]