testing a sequence for 'identicalness'

Rajarshi Guha rajarshi at presidency.com
Thu Jul 4 12:02:52 EDT 2002


Hi,
  does anybody knwo how I can check a sequence for 'identical ness', ie
given a sequence:

[1,1,1,1,1,1,1,1,1,1]

it would be classified as 100% identical

and

[1,1,1,1,1,1,1,1,1,2]

would be classified as 90% identical.

TIA,



More information about the Python-list mailing list