I need algorithm for my task
wxjmfauth at gmail.com
wxjmfauth at gmail.com
Wed Nov 5 14:07:50 EST 2014
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.
More information about the Python-list
mailing list