Write a boolean function
is_univariate_word(s) that, given a string
,
returns True if and only if
consists of repetitions of one and the same letter, ignoring case
differences. For instance: word xxXxXXx is
univariate, but xxXxy is not.
Sample session
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.