Python Introducing Lists Using Lists Review Mutability

mohan Abdul
PRO
mohan Abdul
Pro Student 1,453 Points

why wasn't insert keyword used with bebop?

why wasn't insert keyword in the def function for bebop?

Justin Horner
Justin Horner
Treehouse Guest Teacher

Hello Mohan,

Were you able to pass this quiz with the help of the answer by Steven Parker? If not, please let us know so we can help you further.

Take care

1 Answer

Steven Parker
Steven Parker
200,417 Points

Using "insert" (or "append") would have added a new name as a 5th element of the list. But the code in the quiz question is intended as an example of changing a list item instead.