title: outsiderec.setFill(Color rgb(100, x, 0) - Syntax error?
body: <p>Trying to use a randomized variable to randomize the color? Getting a syntax error.  Is this possible? 
  Here's the rest of the code if that helps at all:</p>
  
  <pre><code>import graphics
  import random
  window= graphics.GraphWin("x", 600, 400)
  stripes = input("How many stripes should be on the flag")
  stripes = int(stripes)
  count = 0
  count = int(count)
  P1=graphics.Point(0,0) #left corner - anchor point
  for x in range(stripes): #loop for division of flag
      col= random.randint(1,255)
      stepdim = 400/stripes #size of divisions
      shrink = count*stepdim
      stepdim = int(stepdim)
      stepdim = stepdim*10 #enlarge to an increment below the last
      stepdim = stepdim-shrink
      stepdim = int(stepdim)
      P2=graphics.Point(600,stepdim) #bottom right corner - ever shrinking
      outsiderec=graphics.Rectangle(P1,P2) #
      outsiderec.setFill(Color rgb(100, col, 0)
      outsiderec.draw(window)
      count= count + 1
      count= int(count)
  window.getMouse()
  window.close()
  </code></pre>
  
  <p>python 3.4 if that's any help.</p>
  
  <p><img src="https://i.stack.imgur.com/mXk8d.png" alt="enter image description here"></p>