Question: Loop large section of code

I have a large section of code which comes down to one single value  which is different each time you execute the section due to a

random component.  I want find a simple way I can loop the complete section of code and get the output 1, output 2, output 3 etc etc

without having to go in and put [ i , j ] on every single variable. I can do it manually by just start in the begining and press

enter all the way , write down the result and move the cursor to the begining again and start all over again but it is very time consuming.

Since the code section is very large putting   [ i, j ] notation is not an option.  Any help most appreciated !

 

Please Wait...