![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.python archiveRe: best way to determine sequence ordering?
From: Kay Schluehr <kay.schluehr@gmx.net>
Date: Sun Apr 30 2006 - 09:38:24 CEST
> * building a dict of indicies::
Hi Steven,
your solution may not create the correct answer if an item occurs twice
>>> L = ['C', 'A', 'D', 'B', 'A']
This gives the impression that 'D' always precedes 'A' which is wrong.
|