[Tutor] lists

Alan Gauld alan.gauld@blueyonder.co.uk
Sat Jun 7 03:31:01 2003


> It's a bit of a weird thing to do though.  It would be faster and
> simpliler just to swap the lists:
> 
>     list2, list1 = list1, list2

This makes list1 empty, I didn't see any requirement to do that!
Or did I miss something?

Alan G.