code: def render_word(self,word,size,color):
          '''Creates a surface that contains a word.'''
          pygame.font.init()
          font = pygame.font.Font(None,size)
          self.rendered_word = font.render(word,0,color)
          self.word_size = font.size(wordf render_word(self,word,size,color):
          '''Creates a surface that contains a word.'''
          pygame.font.init()
          font = pygame.font.Font(None,size)
          self.rendered_word = font.render(word,0,color)
          self.word_size = font.size(word)
docs: Creates a surface that contains a word.