Loop certain number of times then do action

The main problem i came here for is that the program is looping and only running the program section that controls the cutpin. I need the cutpin program to only run once the for statement is complete. Right now it will skip the for statement and run the section of code that controls the cutPin