On Wed, 20 Mar 2013 20:00:38 +0000, Grant Edwards wrote:
> 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)]
Indeed a typo
Many thanks for correcting
--
"MacDonald has the gift on compressing the largest amount of words into
the smallest amount of thoughts."
-- Winston Churchill
--
http://mail.python.org/mailman/listinfo/python-list