I need algorithm for my task

wxjmfauth at gmail.com wxjmfauth at gmail.com
Thu Nov 6 01:31:23 EST 2014


Le mercredi 5 novembre 2014 20:29:34 UTC+1, wxjm... at gmail.com a écrit :
> Le mercredi 5 novembre 2014 20:08:03 UTC+1, wxjm... at gmail.com a écrit :
> > Le mercredi 5 novembre 2014 12:58:44 UTC+1, lordv... at gmail.com a écrit :
> > > I have line 'pythonpythonpyth'. How do I know which word is the foundation line?.
> > > Other examples:
> > > "pythonpythonpyth" is python
> > > "DOLORIUMD" is DOLORIUM
> > > "HELLOLHELLO" is HELLOL
> > > "thewordword" is thewordword
> > > 
> > > I need to know whether the word in the text is repeated and get it. This will be the key.
> > 
> > From your examples: impossible, unsolvable. [*]
> > 
> > [*] unless using an "external" list of words.
> 
> Mea culpa. Sorry, I was wrong. (I "missread" one example).

2nd erratum (?)
Thinking again. There is in my mind no solution.



More information about the Python-list mailing list