title: How can I check if a list contains the same element repeated in a row?
body: <p>I'm trying to define a function that recognizes when a list has two elements that get repeated right after one another, but I can't seem to get it to work.</p>