text. Reverse it. Return True if some two adjacent letters of the original string also appear next to each other, in the same order, in the reversed string. Otherwise return False.
For example, "seen" contains the pair "ee", and so does "nees".text='rotor' → True
The word reads the same both ways, so any pair, such as "ro", also appears in the reversed string.
text='plum' → False
The reversed string is "mulp" with pairs "mu", "ul" and "lp"; none of them matches "pl", "lu" or "um".
text='bonobo' → True
The pair "ob" occurs in "bonobo", and the reversed string "obonob" starts with it.
text consists of lowercase English letterstext='rotor'
True
Run checks the first 3 tests in your browser. Submit checks all 124 tests on the server, hidden ones included.