for number loop scala code example Example: how loop in scala val names = Seq("chris", "ed", "maurice") val nums = Seq(1, 2, 3)