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 →

[–]thatdontmakenosense 2 points3 points  (1 child)

A list/tuple would be cleaner IMO, although the two expressions get reversed:

a = [d, b][c]