title: I need help to blit as many squares as the length of a word in pygame
body: <p>I'm making a hangman game, I need to blit as many blanks as the length of a word. I'm providing the class that I'm trying to use. Any help is appreciated, Thank you.</p>
  <pre><code>class Blanks:
      def __init__(self, length, win, color = (255, 255, 255), top = 500):
          self.length = length
          self.win = win
          self.color = color
          self.top = top
  
      def draw(self):
          num = [(50, 500), (80, 500), (110, 500), (140, 500), (170, 500), (200, 500)]
          for i in range(self.length + 1):
              num2 = num[:i]
              print(num2)
              pygame.draw.rect(self.win, self.color, (num2[:][0], num2[:][1], 20, 20))
  </code></pre>
  <p>length argument gets the length of the word.</p>