"Nick Vatamaniuc" <[EMAIL PROTECTED]> writes: > if l[-1].setdefault(a+c, x+e)<x+e: > l[-1][a+c]=x+e
Thanks for the answer. I will try it. -- Brian (remove the sport for mail) http://www.et.web.mek.dtu.dk/Staff/be/be.html Rugbyklubben Speed Scandinavian Open 7s Rugby http://www.rkspeed.dk -- http://mail.python.org/mailman/listinfo/python-list