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 lists:
or arrays:
The while loop
Iterating over collections:
Skip to: Site menu | Main content
|
Download :: Wiki :: Source :: Mailing Lists :: IRC :: Roadmap :: Issue Tracker |
| Loops | ![]() |
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 lists:
or arrays:
Iterating over collections: