code: def display(self):
          '''Displays the word cloud to the screen.'''
          pygame.init()
          self.display = pygame.display.set_mode((self.width,self.height))
          self.display.blit(self.cloud,(0,0))
          pygame.display.update()
          while True:
              for event in pygame.event.get():
                  if event.type == pygame.QUIT:
                      pygame.quit()
                      returf display(self):
          '''Displays the word cloud to the screen.'''
          pygame.init()
          self.display = pygame.display.set_mode((self.width,self.height))
          self.display.blit(self.cloud,(0,0))
          pygame.display.update()
          while True:
              for event in pygame.event.get():
                  if event.type == pygame.QUIT:
                      pygame.quit()
                      return
docs: Displays the word cloud to the screen.