degrees and radians.
Greg Ewing
greg at cosc.canterbury.ac.nz
Mon May 6 01:36:46 EDT 2002
Robert George Mayer wrote:
>
> I find that it help to curse the Babylonian astronomers while
> putting all the conversions in place.
You can make both these tasks a litte easier
using the following handy function:
def curse_babylonian_astronomers(d):
import math
return d * math.pi / 180.0
--
Greg Ewing, Computer Science Dept, University of Canterbury,
Christchurch, New Zealand
To get my email address, please visit my web page:
http://www.cosc.canterbury.ac.nz/~greg
More information about the Python-list
mailing list