Re: [Tutor] Re: Recursive list checking

2005-04-08 Thread Kent Johnson
Jeffrey Maitland wrote: joe_schmoe writes: Dear Pythonites I am looking for a more elegant solution to a piece of code that is too unwieldy and reptitive. The purpose of the code is for a new addition to a list to check whether it is a duplicate of a list element already a member of that list, a

[Tutor] Re: Recursive list checking

2005-04-08 Thread Jeffrey Maitland
Jeffrey Maitland writes: joe_schmoe writes: Dear Pythonites I am looking for a more elegant solution to a piece of code that is too unwieldy and reptitive. The purpose of the code is for a new addition to a list to check whether it is a duplicate of a list element already a member of tha

[Tutor] Re: Recursive list checking

2005-04-08 Thread Jeffrey Maitland
joe_schmoe writes: Dear Pythonites I am looking for a more elegant solution to a piece of code that is too unwieldy and reptitive. The purpose of the code is for a new addition to a list to check whether it is a duplicate of a list element already a member of that list, and if so to regenera