I have created a dictionary and when I click on rectangle I am increasing the rectangle.
I got the result but the problem is that it is rising from top to down (since pygame
create from top to down) and I want to do the opposite. I attached the image. thanks in
advance.
data = {'volvi':0,'ley_seca':0,'jamais':0}
amarillo_surf = pygame.Surface([100, data["jamais"]])
amarillo_surf.fill((255, 255, 0))
blue_surf = pygame.Surface([100, data["ley_seca"]])
blue_surf.fill((0, 123, 194))
red_surf = pygame.Surface([100, data["volvi"]])
red_surf.fill((240, 80, 54))