I am having trouble understanding Mathematica's scoping and what it does with loops. For example, if you would like to display a bunch of images, in python you may construct a loop and show the images in the loop. However, in Mathematica it doesn't seem that it works in the same way.
For example I am used to writing this type of script to achieve the idea above:
dothings[img_] := ( f = GaussianFilter[img, 200]; Return[f] ); For[i = 1, i < 3, i++, j = dothings[Import["C:\\Users\\Chase\\Pictures\\bg.jpg"]] ]
If the function is in a loop it does not return anything to the notebook output. DOes anyone know how to achieve this?