how to draw a line in pygame code example
Example 1: pygame draw line
pygame.draw.line(SURFACE, COLOR, START_POS, END_POS, WIDTH)
Example 2: pygame circle
circle(surface, color, center, radius)
Example 3: draw a line pygame
pygame.draw.line(surface, color, start_pos, end_pos, width)