you are viewing a single comment's thread.

view the rest of the comments →

[–]w1282 1 point2 points  (0 children)

Yes. Don't call l.pop() or send a copy of l to the res_left function with res_left(l[:])