12. Using a list of lists in a function help


I'm not sure exactly what I'm supposed to do on this exercise. I've been through a bunch of forum postings and read the hint but I'm still stuck. Anyone know what I'm doing wrong?


You don't need to store the append back into the variable. append() already updates the list and it doesn't return anything. Just simply do



Nevermind it's fixed (I found a helpful forum post)

this is what worked for me. :slight_smile:


A helpful or answer forum post? I think there is a difference, do you also understand now?


yes i understand it now


I personally wouldn't use range() like you did in the first for loop, but good that you understand now :slight_smile:


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.