for (var i = 0; i < list.length; i++) { print(list[i]); }
List<int> ages = [29, 27, 42]; ages.forEach((int age) => print(age));