On 17 Des, 18:42, "Alf P. Steinbach" <al...@start.no> wrote:
> Have you tried this with > > dip1 = [dp - 0.01 if dp == 90 else dp for dp in dipList] And for comparison with map: map(lambda dp: dp - 0.01 if dp == 90 else dp, dipList) -- http://mail.python.org/mailman/listinfo/python-list