Create an empty for loop structure
Drag a loop tile up from the bottom of the screen and drop it at the appropriate location within your code in the edit pane.
Select limit from the popup menus.