Re: Print in a loop
- To: mathgroup at smc.vnet.net
- Subject: [mg103169] Re: Print in a loop
- From: "Nasser Abbasi" <nma at 12000.org>
- Date: Thu, 10 Sep 2009 07:16:02 -0400 (EDT)
- References: <h87pef$5fv$1@smc.vnet.net>
"Luiz Melo" <luiz.melo at polymtl.ca> wrote in message news:h87pef$5fv$1 at smc.vnet.net... > The loop > > Do[Print[i],{i,3}] > > results in: > > 1 > then > 1 > 2 > then > 1 > 2 > 3 > Which version of Mathematica do you have? it works just fine on my version 7 on windows: Do[Print[i], {i, 3}] 1 2 3 --Nasser