Help with map python 2

Chris Angelico rosuav at
Sun Jan 4 12:47:03 CET 2015

On Sun, Jan 4, 2015 at 10:34 PM, flebber <flebber.crue at> wrote:
> Just getting something wrong
> list(map((lambda x: x * -1 if (x%2 != 0)), series))

Okay, and what happens when you run this? Do you get an exception? If
so (and I fully expect you will), copy and paste the entire exception
traceback and message. That's the best way to show what's going wrong.
If you're not getting an exception, what do you get that's wrong?


More information about the Python-list mailing list