Answers for "loob in dart"

0

loob in dart

void main()  
{  
    var list1 = [10,20,30,40,50];  
    for(var i in list1)           //for..in loop to print list element  
    {  
        print(i);       //to print the number  
    }  
}
Posted by: Guest on April-17-2022

Code answers related to "Dart"

Browse Popular Code Answers by Language