title: Python, random integer and colour assignment
body: <p>I am relatively new to python (3.14) and I am trying to define a new function called <code>getColor</code>. And with this I want to randomly return one of three colours. I want to use <code>random.randin(1,3)</code> in a variable, and want the return of 1, 2, and 3 to return different colours in each case!</p>
  
  <p>So far my code looks like this </p>
  
  <pre><code>import turtle
  
  w=turtle.Screen()
  tess= turtle. Turtle()
  
  import random
  random.randint(1,3)
  
  
  def getColor():
     return 
  </code></pre>
  
  <p>i am not sure what to put for the coordinates, or how to go about getting colours for each of the three possible integers.
  If any one has any pointers that would be amazing</p>