a little parsing challenge ☺
michihenn at hotmail.com
Sun Jul 17 09:55:25 EDT 2011
Am 17.07.2011 15:20, schrieb Robert Klemme:
> On 07/17/2011 11:48 AM, Raymond Hettinger wrote:
>> On Jul 17, 12:47 am, Xah Lee<xah... at gmail.com> wrote:
>>> i hope you'll participate. Just post solution here. Thanks.
> Ruby solution: https://gist.github.com/1087583
I acutally don't know Ruby that well, but it looks like your program
recognizes "[(])" as correct although it is not, because you translate
"[(])" to "(())" (which is indeed correct, but does not resemble the
input correctly anymore).
> Kind regards
More information about the Python-list