Report question

Question: Is there a way to handle the last case differently in a Scala for loop?