1. Type this assignment statement into the Python shell: names = ['Bob', 'Ho', 'Zahara', 'Amitabha', 'Dov', 'Maria'] For the following steps, use names and slice notation: (a) Write an expression that produces this new list: ['Zahara', 'Amitabha', 'Dov'] (b) Write an expression that produces this new list: ['Bob'] (c) Write an expression that produces this new list: ['Amitabha', Dov', 'Maria'] 2. Given a list L and a value v, write an expression that removes the rst occurrence of v from L. 3. Write an expression that adds the string "How are you?" to the front of the list ["I am fine, thank y
for point 3) its ["I am fine, thank you."]
is this a test?
this is one of those questions that makes me think "this person is going to get us to do his homework for him"
i already did this course last fall, this was in one of my labs. I just put it here coz MIT also has python in 1st year
ah, perhaps you can preface your statements next time with a "try these problems out"
Join our real-time social learning platform and learn together with your friends!