On Mon, Jan 12, 2015 at 11:09 AM, Peter Otten <__pete...@web.de> wrote: >> >> print(sum(map(lambda x: float(x), s.split(','))) >> >> Please trim your quotes to the relevant minimum. > > Hm, can you explain what this > > lambda x: float(x) > > is supposed to achieve? I mean other than to confuse a newbie...
Maybe he gets paid by the character. ChrisA -- https://mail.python.org/mailman/listinfo/python-list