title: how to draw using python
body: <p>I need to draw a rectangle in which I want to place numbers of circles with the same size but different colors.</p>
  
  <p>color of circle chance after 4 circles.</p>
  
  <p>using python</p>
  
  <pre><code>from PIL import Image, ImageDraw
  draw.ellipse((100, 100, 150, 200), fill=(255, 0, 0), outline=(0, 0, 0))
  draw.rectangle((200, 100, 300, 200), fill=(0, 192, 192), outline=(255, 255, 255))
  </code></pre>
  
  <p>ps- I am new to programing</p>