Loops/Increment loop index within loop body: Difference between revisions

m
Added a general comment as requested by task.
(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
Anonymous user