I need help removing characters from the start and end of every element in a Python list. For instance,
list = ["ab1c", "ef2g", "hi3j"]
If this was the list and I wanted to remove the letters from each element by removing the first two and the last character so that the end result would be list = [1, 2, 3]
, how could I do this?