Python code for testing well parenthesized expression

Adrian Dziubek adrian.dziubek at gmail.com
Tue Jul 14 09:04:06 EDT 2009


> Don't you want to just test that the number of "("s equals the number of
> ")"s or am I missing the point?
I had this idea too, but there is additional requirement that any
beginning must have greater or equal number of '(' than ')'.
--
Adrian



More information about the Python-list mailing list