I am new to programming and I am re-creating a game and there are loops that I created a temp variable to do a check and after the loop is done, I del temp.
i.e.