Hey Python Users...

I try to make an script thad can change an shape with the keyboard...
This is my script, python 3:

Code:
import pygame
import sys
   
pygame.init()
   
WHITE = (255, 255, 255)
RED = (0, 255, 0)
BLACK = (0, 0, 0)
BLUE = (0, 0, 255)
   
size = (640, 480)
screen = pygame.display.set_mode(size)
screen_rect = screen.get_rect()
   
pygame.display.set_caption("JCads Develop")
   
done = False
clock = pygame.time.Clock()

     
while not done:
    for event in pygame.event.get():
        if event.type == pygame.QUIT:
            done = True
        elif event.type == pygame.KEYDOWN:
            if event.key == pygame.K_r:
                shape = pygame.draw.rect(screen, RED, [75,20,10,10], 2)
            elif event.key == pygame.K_g:
                shape = pygame.draw.rect(screen, BLACK, [60,40,20,10], 4)
            elif event.key == pygame.K_b:
                shape = pygame.draw.rect(screen, BLUE, [40,60,40,10], 3)
            elif event.key == pygame.K_ESCAPE:
                done = True
  
      
    screen.fill(WHITE)
  
    screen.blit(shape, [250, 250])
    pygame.display.flip()
   
    clock.tick(60)
pygame.quit()
sys.exit()
I try figure out how pygame works, but if i run this script... it doesn't works...
Can anyone correct my code, just i can experiment with pyGame to make things
like shapes, sounds, colours, etc... changeble

Just i need many examples of pyGame to handle with the get_rect function in pyGame...
As example to change shapes, positions of shapes, images and destroy things...

Can anyone help me ?...

Thanks, Jamie.