[Tutor] Maths: getting degrees from radians (or am I wrong?)

R. Alan Monroe amonroe at columbus.rr.com
Wed Sep 21 00:51:27 CEST 2005


> Bernard Lebel wrote:

>  >>> import math
>  >>> math.acos(-0.0634)
> 1.6342388771557625
>  >>> math.degrees(_)  <--- in all my time on tutor
                             I have never noticed
                             this underscore trick
                             before
> 93.634990377223801

That's quite handy.

Alan



More information about the Tutor mailing list