The for loop
The for loop sintax is:
where range can be any type of collection. Examples:
it is equivalent to
from C# or Java. You can also use with arrays:
or,
The while loop
Iterating over collections:
Labels
The for loop sintax is:
where range can be any type of collection. Examples:
it is equivalent to
from C# or Java. You can also use with arrays:
or,
Iterating over collections: