In the code above, you’ll see how, now that we have elements inside of new_lst, we can index into it. In order to extract an element of the list, we do use [], but we first have to specify which list we are indexing. Imagine if there was another list in the activecode. How would python know which list we want to index into if we don’t tell it? Additionally, we have to specify what element we want to extract. This belongs inside of the brakets.
Answers
Answered by
0
Answer:
where is the question man
Similar questions