Anonymous user
Loops/For with a specified step: Difference between revisions
Loops/For with a specified step (view source)
Revision as of 01:15, 19 September 2010
, 13 years ago→{{header|Mathematica}}
(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>
|