beyondgrader.com Logo
DemoBrowseAboutTeamLogin

Doubled Character

[email protected] // 1.0 // type-checkable

Write a function called has_doubled_character that takes one string and returns whether the string has (at least) two of the same character in a row. For example, "free" has two "e" characters in a row, but "eve" does not.