On Tue, 20 Sep 2005, R. Alan Monroe wrote: > > >>> math.degrees(_) <--- in all my time on tutor > I have never noticed > this underscore trick > before
That *is* cool. I've usually done something like: >>> a+ 3*b +(5*ht/9) * 32 9936254.2 Then use the up-arrow key to get >>> a+ 3*b +(5*ht/9) * 32 and edit it toL >>> x = a+ 3*b +(5*ht/9) * 32 >>> foo(x) The underscore's a nice stepsaver. And limiting it to the interpreter avoids perlish abuse. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor