📅  最后修改于: 2022-03-11 14:52:18.910000             🧑  作者: Mango
main(List args) {
var sum = 0;
var given_list = [1, 2, 3, 4, 5];
for (var i = 0; i < given_list.length; i++) {
sum += given_list[i];
}
print("Sum : ${sum}");
}