Understanding Dart : Part 9 - Loops
Series: Understanding Dart for Flutter Beginners
Imagine you need to print numbers from 1 to 10.
One way is to write:
print(1);
print(2);
print(3);
print(4);
print(5);
print(6);
print(7);
print(8);
p
mroshan.hashnode.dev5 min read