:                     if event.type == pygame.K_a:                         print("reached")                         self.dict_text[id] = []                         self.dict_text[id].append("a")                         self.surface.blit(self.font.render(f'{str(self.dict_text[id])}', self.antialias, (0, 0, 0)),                                           (self.x, self.y))                     else:                         print("didn't")              else:                 pass  