Rosetta: Zebra puzzle (2.)

MRAB python at mrabarnett.plus.com
Sat May 13 17:22:31 EDT 2017


On 2017-05-13 22:03, Jan van den Broek wrote:
> On 2017-05-13, Robert L. <No_spamming at noWhere_7073.org> wrote:
> 
> [Schnipp]
> 
>> def build_permutations things
>>   if block_given?
>>     things.permutation.select{|x| yield x}
>>   else
>>     things.permutation.to_a
>>   end
>> end
> 
> I fail to recognize the Python-version.
> 
It's not Python. I believe it's Ruby.

Ignore him. He's been banned from the Python-list proper, so if you're 
seeing his posts you must be accessing the list via some mirror, e.g. 
via Google Groups.



More information about the Python-list mailing list