title: Can for loops create new variables?
body: <p>I came across this problem online and used it on visualizer to see how this works. It looks to me that a new variable called guess was created using the for loop.</p>
  
  <p>Question: Did the for loop create a new variable called "guess"? If not, how was the value of guess utilized outside the loop in the if/else statement?</p>
  
  <pre><code>cube = 8
  
  for guess in range(cube+1):
      if guess**3 &gt;= abs(cube):
          break
  if guess**3 != abs(cube):
      print(cube, "is not a perfect cube")
  else:
      if cube &lt; 0:
          guess = -guess
      print("The cube root of", str(cube), "is", str(guess))
  </code></pre>
  
  <p>I'd highly appreciate some feedback on this. Thank you!</p>