Loops/Downward for: Difference between revisions

Content added Content deleted
No edit summary
Line 202: Line 202:


=={{header|Mathematica}}==
=={{header|Mathematica}}==
Mathematica provides several ways to iterate over a range of numbers, small subtle differences are amongst them. 3 possible implementations are (exactly same output):
Mathematica provides several ways to iterate over a range of numbers, small subtle differences are amongst them. 3 possible implementations are (exactly the same output):


Using For:
Using For: