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\',
first, last = some_list[0], some_list[-1]