Re: Print in a loop
- To: mathgroup at smc.vnet.net
- Subject: [mg103193] Re: Print in a loop
- From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
- Date: Thu, 10 Sep 2009 07:20:35 -0400 (EDT)
- References: <h87pef$5fv$1@smc.vnet.net>
I get the latter result, just as expected Cheers -- Sjoerd On Sep 9, 10:36 am, Luiz Melo <luiz.m... at polymtl.ca> wrote: > The loop > > Do[Print[i],{i,3}] > > results in: > > 1 > then > 1 > 2 > then > 1 > 2 > 3 > > How can we obtain: > 1 > then > 2 > then > 3 > > thanks > Luiz > > --