As we saw in the class review, the repetitive `elsif text == "..."` can be simplified using `case`/`when`.