Changing variables in a loop

A cond do ... will raise if none of the conditions hold true. This is safer for newbies than if that don’t have a else clause.