for(int i=0; i< 10; i++){
    print(i);
}
var numbers = [1,2,3];
// for-in loop for lists
for(var number in numbers){
    print(number);
}
Comments