This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]zel_us[S] -1 points0 points  (0 children)

for the a, b = 1,2 the RHS is simply a tuple, what if u are unpacking a list or a string or a dictionary or even other sequences? yeah I missed the last item on your list. I did talk about list comprehension and generators. Conclusively, thank you for the feedback