py4e
py4e copied to clipboard
chapter_8 ex_1 failure
In chapter 8 exercise 1, the bolded part of the sentence is not clear,please review. Exercise 1: Write a function called chop that takes a list and modifies it, removing the first and last elements, and returns None. Then write a function called middle that takes a list and returns a new list that contains all but the first and last elements.