finding sublist

2005-08-02 Thread giampiero mu
hi everyone my target is implement a function controlla(string - a binary string-) that check if there is in a string two equal not overlapping subsequences at least of length limitem: my code: def controlla(test): # print test limitem=4 lunghezz=len(test) l1=lungh

Re: finding sublist

2005-08-02 Thread giampiero mu
controlla("12345678") -> "12345678" thanks everyone. only a question. there is a way to advantage of binary sequences? -- http://mail.python.org/mailman/listinfo/python-list