> 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
--
http://mail.python.org/mailman/listinfo/python-list
- Python code for testing well parenthesized expression candide
- Re: Python code for testing well parenthesized expr... Jeremy Sanders
- Re: Python code for testing well parenthesized ... Diez B. Roggisch
- Re: Python code for testing well parenthesi... Jeremy Sanders
- Re: Python code for testing well parenthesized ... Adrian Dziubek
- Re: Python code for testing well parenthesized ... David Smith
- Re: Python code for testing well parenthesi... John Machin
- Re: Python code for testing well parenthesized expr... Adrian Dziubek
- Re: Python code for testing well parenthesized expr... Martin P. Hellwig
- Re: Python code for testing well parenthesized ... Martin P. Hellwig
- Re: Python code for testing well parenthesized expr... John Machin
- Re: Python code for testing well parenthesized expr... Duncan Booth
- Re: Python code for testing well parenthesized ... Simon Forman
