> fits = list(float(a) for a in range(0, 10))

Another way of writing that:

flts = map(float,range(10))

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

Reply via email to