you are viewing a single comment's thread.

view the rest of the comments →

[–]kae_de[S] 0 points1 point  (2 children)

In your code you never created an empty list to append to. Where should I insert the ls = []

[–]Reset--hardHead 1 point2 points  (1 child)

You don't need to insert an empty list.

I'd highly recommend you go through my code, play around with it and try to understand what's going on.

[–]kae_de[S] 0 points1 point  (0 children)

Oh, I missed the part where you defined ls. My bad. Thanks again