Escribe una función booleana
is_univariate_word(s) que, dado un
string
,
retorna True si y solamente si
consiste en la repetición de una y la misma letra, ignorando la
distinción entre mayúsculas y minúsculas. Por ejemplo: la palabra
xxXxXXx es univariada, pero
xxXxy no lo es.
Ejemplo de sessión
About statements
The official statement of a problem is always the one
in the PDF document. The HTML version of the statement
is also given to help you, but may contain some content
that is not well displayed. In case of doubt, always use the PDF.