I have a tuple foo
which contains something I don't care about and something I do.
foo = (something_i_dont_need, something_i_need)
Is it more correct to use
_, x = foo
or
x = foo[1]
The only things I can think of are different behaviour if foo
isn't of length two.
I suppose this is fairly case-specific, but is one of these the de-facto pythonic way of doing things?