input: Write a python function to get a substring by removing the first and last characters.
  assert get_substring("hello") == "ell"
  assert get_substring("world") == "orl"
  assert get_substring("a") == ""
  assert get_substring("ab") == ""
output: def get_substring(s):
      return s[1:-1] if len(s) > 1 else ""