[Tutor] Difference

Mike Yuen myuen@ucalgary.ca
Mon, 12 Nov 2001 14:03:52 -0700 (MST)


I'm wondering if there's a simple function that will return the difference
between two lists OR dictionary items.

For example, say i've got the following:
A: [a, b, c, d, e, f, g, h, i]
B: [a, b, d, c, e, g, f, i, h]

I would like to know if there's a comparison function that will tell me
there are 6 differences between lists A,B

Thanks,
M