title: AttributeError: 'str' has no attribute 'shape'
body: <p>EDIT: I am very sorry to anyone who has been trying to figure this out... for SOME REASON in one of my other functions, I had a for loop</p>
  
  <pre><code>for turt in winningRowTurtles:
      winningRowTurtles[turt] = ''
  </code></pre>
  
  <p>I really don't know why... sorry for all the confusion!</p>
  
  <p>I'm making a connect four game with Python, and I want to have four turtles to go to the winning tiles and flash, once a win is found. I've got this working... but it only works if as soon as the win is found, the turtles spawn in the middle of the screen and hide really quickly (which is distracting) and then go to their spots. I want to make it so they spawn and hide at the beginning of the game in the setup phase, NOT right at the end of the game. Here is my code:</p>
  
  <pre><code>winningRowTurtles = {}
  for turt in range(4):
      winningRowTurtles[turt] = turtle.Turtle()
      winningRowTurtles[turt].up()
      winningRowTurtles[turt].ht()
  </code></pre>
  
  <p>This next code is what happens after the winner has been found:</p>
  
  <pre><code>if winnerFound == 1:
      for turt in winningRowTurtles:
          winningRowTurtles[turt].shape('circle')
          winningRowTurtles[turt].color('blue')
  elif winnerFound == 2:
      for turt in winningRowTurtles:
          winningRowTurtles[turt].shape('square')
          winningRowTurtles[turt].color('red')
  </code></pre>
  
  <p>Then I get this error:</p>
  
  <pre><code>Traceback (most recent call last):
  File "C:\[redacted]\Python\Connect Four!.py", line 353, in &lt;module&gt;
  play_game()
  File "C:\[redacted]\Python\Connect Four!.py", line 258, in play_game
  winningRowTurtles[turt].shape('circle')
  AttributeError: 'str' object has no attribute 'shape'
  </code></pre>
  
  <p>play_game() is the function where the second part of the code is run. Does anyone know why? This seems completely unreasonable. I defined winningRowTurtles[1,2,3,4] before I ran the other code... as turtles, not strings. Thanks in advance.</p>