builtins.TypeError: catching classes that do not inherit from BaseException is not allowed
Karsten Hilbert
Karsten.Hilbert at gmx.net
Fri Dec 31 07:08:58 EST 2021
Am Thu, Dec 30, 2021 at 03:57:25PM -0800 schrieb hongy... at gmail.com:
> > > Then what cases/scenarios can demonstrate the beauty of recursion?
> > >
> > Walking a tree.
>
> There are many type of trees. Do you mean all of them?
Palm trees don't lend themselves to recursion all that much.
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
More information about the Python-list
mailing list