Using __repr__ or __str__ for own printable class?
Andrew Dalke
adalke at mindspring.com
Mon Apr 14 21:09:54 EDT 2003
Erik Max Francis:
> >>> info(stationaryEarthOrbit, highTritonOrbit)
> Source: stationary orbit around `Earth'
> Destination: medium orbit around `Triton'
...
> Transfer: Hohmann from `Earth' to `Neptune'
> Duration: 965260524.876 s
> Burns: 11651.5022539, 4053.91436026 m/s
You wouldn't really do a Hohmann orbit all the way
out to Neptune, would you? Aren't there any
gravitational assists that could help out? After all,
it took Voyager 2 only 12 years or so to get there,
not 30, though the planets were well aligned at
the time.
Andrew
dalke at dalkescientific.com
More information about the Python-list
mailing list