Hi, in this exercise I don’t understand why for the task ” extract the second list as a list” we use the code newList[[2]] and not newList[2].
Hi both,
thanks for reaching out!
You’re absolutely right, you can use the single brackets to extract the second list. Hope this helps!
Best,
365 Eli
Hi Lisa,
I recently encountered the same problem and chalked it up to an error in the solution itself. Based on what we learned: newlist[2] seems like the only logical answer. Will stand by and wait for an answer too, thanks for posting the question! Cheers, Matt