Jul-26-2018, 08:53 PM
Do you mean something like that:
>>> d = [ ... [1, 10], ... [0.6, 20], ... [2, 30], ... [0.6, 40] ... ] >>> [row[1] for row in d if row[0] == 0.6] [20, 40]
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.