On Sep 26, 10:33 pm, afrogazer <[EMAIL PROTECTED]> wrote:
> rad_angles = [elem*(pi/180) for elem in angles]
You are missing some more on a friday afternoon: angles is created by
arange, so it is a numpy array. In that case you simply can do
rad_angles = pi/180 * angles
No need to use list-comprehensions, that is the whole idea about using
these kick-ass objects!

Bas
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to