Pierre <pierre.gaill...@gmail.com> writes: > s_minus_1 = lambda s : for index in range(0, len(s)) : s[index] = s > [index]-1
What are you trying to do here anyway? That looks broken. Maybe you want the list.insert method. -- http://mail.python.org/mailman/listinfo/python-list