title: Adding named turtles in list?
body: <p>I am currently working on a mini project where user enters a number and that number of turtles are generated and race to the middle. The turtles were created through <code>while</code> statement and then each named after its color using a nested <code>if</code> statement.</p>
  
  <p>Is there any way to make a list of these turtles or a way to add them into a list which I can use random function on for the race to ensure a random color moves every turn. I can't seem to make a list containing the turtles names. (Below is simplified and focused version of my code.)</p>
  
  <pre><code>import turtle
  y = turtle.turtle()
  Racers = []
  if Z == "Blue":
      Blue = y
      Racers.append(Blue)
  elif Z == "Yellow":
      Yellow = y
      Racers.append(Blue)
  etc.
  </code></pre>