Re: [Tutor] comparison function/built-in needed

2005-04-08 Thread joe_schmoe
Kent Johnson wrote: joe_schmoe wrote: Greetings I am attempting to compare the items in two lists across two criteria - membership and position. For example: list_a = [ 0, 4, 3, 6, 8 ] list_b = [ 1, 8, 4, 6, 2 ] Membership = There are 3 items that are common to both lists, that is 3 items in lis

Re: [Tutor] comparison function/built-in needed

2005-04-06 Thread R. Alan Monroe
> I am attempting to compare the items in two lists across two criteria - > membership and position. For example: > list_a = [ 0, 4, 3, 6, 8 ] > list_b = [ 1, 8, 4, 6, 2 ] > Membership = There are 3 items that are common to both lists, that is 3 > items in list_a have membership in list_b (viz

Re: [Tutor] comparison function/built-in needed

2005-04-06 Thread joe_schmoe
Kent Johnson wrote: joe_schmoe wrote: Greetings I am attempting to compare the items in two lists across two criteria - membership and position. For example: list_a = [ 0, 4, 3, 6, 8 ] list_b = [ 1, 8, 4, 6, 2 ] Membership = There are 3 items that are common to both lists, that is 3 items in lis

Re: [Tutor] comparison function/built-in needed

2005-04-06 Thread Kent Johnson
joe_schmoe wrote: Greetings I am attempting to compare the items in two lists across two criteria - membership and position. For example: list_a = [ 0, 4, 3, 6, 8 ] list_b = [ 1, 8, 4, 6, 2 ] Membership = There are 3 items that are common to both lists, that is 3 items in list_a have membership

[Tutor] comparison function/built-in needed

2005-04-06 Thread joe_schmoe
Greetings I am attempting to compare the items in two lists across two criteria - membership and position. For example: list_a = [ 0, 4, 3, 6, 8 ] list_b = [ 1, 8, 4, 6, 2 ] Membership = There are 3 items that are common to both lists, that is 3 items in list_a have membership in list_b (viz: 4,