How can I tell if a string repeats itself in Python?

Published --