Loops/For with a specified step: Difference between revisions
Content added Content deleted
(Add Bash example) |
|||
Line 298:
1
4
</pre>
=={{header|Mathematica}}==
<lang Mathematica>Do[
Print@i,
{i, 1, 20, 4}]</lang>
Output:
<pre>1
5
9
13
17
</pre>
|