> # note - this is buggy: the swap won't work because references haven't changed > def swap(a, b): > t = a > a = b > b = a Whoops, correction: t = a a = b b = t Sorry about that.