In Stephen Wolfram's elementary introduction to the wolfram language it says you can use the table function like this: Table[5, 10]
, to create a table of the element 5
repeated 10
times. This works in WolframCloud but not in Mathematica, at least not Mathematica on the Raspberry Pi which is the version I use because it's free. Is there a way I can make the Table
function in Mathematica behave the same as in WolframCloud? At the moment it's throwing me an error saying Table::itform : Argument 10 at position 2 does not have the correct for for an iterator
.
Here's Wolfram's introduction: http://wolfram.com/language/elementary-introduction/06-making-tables.html