Output intermediate results during the runtime of a loop



If one has a for-loop consisting of, say, 10 steps and the computation
of each step takes quite some time, is it possible to print out
something at the end of each step during the runtime of the loop?
(I tried 'print', but the 10 outputs came out all together at the end
of procesing of the entire loop.)

Thanks.

M. K. Shen