title: I need fillcolor to read value in Python
body: <p>I am setting up two definitions and I want the fillColor to read from the drawBar. The program is not reading the correct color corresponding to the value.</p>
  
  <pre><code>import turtle
  
  wn = turtle.Screen()             # Set up the window
  wn.bgcolor("white")
  
  tess = turtle.Turtle()  
  tess.penup()
  tess.goto(-100,-75)
  tess.pendown()
  
  
  def drawBar(t, height):
      """ Get turtle t to draw one bar, of height. """
      t.left(90) 
      t.begin_fill()# Point up
      t.forward(height)
      # Draw up the left side
      t.right(90)
      t.forward(40)            # width of bar, along the top
      t.right(90)
      t.forward(height) 
      t.end_fill()# And down again!
      t.left(90)   
  
  def drawColor(t, height):
      drawBar(t, height)
      if height &gt;= 200:
           return tess.fillcolor("red")
      elif height  &lt; 200 and v &gt;= 100:
           return tess.fillcolor("yellow")
      elif height &lt; 100: 
           return tess.fillcolor("green")
  
  xs = [48, 117, 200, 240, 160, 260, 220]
  
  for v in xs:                 # assume xs and tess are ready
      drawColor(tess, v) 
  </code></pre>
  
  <p>I dont know why this is not working.</p>