drawing lines in pygame code example
Example 1: pygame.draw.rect
pygame.draw.rect(surface, color, rect)
Example 2: pygame how to draw a rectangle
pygame.draw.rect(DISPLAY,BLUE,(200,150,100,50))
pygame.draw.rect(surface, color, rect)
pygame.draw.rect(DISPLAY,BLUE,(200,150,100,50))