Anonymous user
Loops/Increment loop index within loop body: Difference between revisions
Loops/Increment loop index within loop body (view source)
Revision as of 20:13, 6 February 2021
, 3 years agoAdded a general comment as requested by task.
Alextretyak (talk | contribs) (Added 11l) |
m (Added a general comment as requested by task.) |
||
Line 3,088:
=={{header|Nim}}==
In Nim, loop index is read-only, so we have to use a normal variable and increment it as needed.
<lang nim>
import strformat
|