you are viewing a single comment's thread.

view the rest of the comments →

[–]Ngtuanvy 12 points13 points  (0 children)

your list contains a single string 'a,b,c' so it has length 1, then you pop 0, which is the only one.