[Edu-sig] More Pythonic Precalculus (Python 2.0)
Dustin Mitchell
dustin@cs.uchicago.edu
Tue, 26 Sep 2000 11:28:43 -0500 (CDT)
On Mon, 25 Sep 2000, Kirby Urner wrote:
> ...which I think is brilliant, and likely faster than even
> David's solution since it evals only once. Here lambda makes
> more sense, and we get to start with a string.
Wow, this really does make sense. Then students don't run into funny
business with python syntax, but they still get the benefit of using
'eval'.
Dustin
---------------------------------------------------------------------
| Dustin Mitchell )O( |
---------------------------------------------------------------------