On Tue, Oct 28, 2014 at 4:13 PM, Clayton Kirkwood <c...@godblessthe.us> wrote:
> Explain this double speak(>:
>
> [pair for pair in values if key == pair[0]]

Hi Clayton,

Here is a rewording of that expression to an approximately equivalent statement:

#######################
some_list = []
for pair in values:
    if key == pair[0]:
        some_list.append(pair)
#######################
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to