On 2013-03-20, Alister <[email protected]> wrote: > and a list comprehension would streamline things further > > t=[round(x*1.0/60),4 for x in range(1440)] #compatible with V2.7 & V3.0)
There's a typo in the above. It should be:
t = [round((x*1.0/60),4) for x in range(1440)]
--
Grant Edwards grant.b.edwards Yow! On the road, ZIPPY
at is a pinhead without a
gmail.com purpose, but never without
a POINT.
--
http://mail.python.org/mailman/listinfo/python-list
