Is there a way to slice only the first and last item in a list?
For example; If this is my list:
>>> some_list [\'1\', \'B\', \'3\', \'D\',
You can do it like this:
some_list[0::len(some_list)-1]