#Here is a list of all the drawing functions available to us in Pygame. #pygame.draw.polygon(surface, color, pointlist, width) #pygame.draw.line(surface, color, start_point, end_point, width) #pygame.draw.lines(surface, color, closed, pointlist, width) #pygame.draw.circle(surface, color, center_point, radius, width) #pygame.draw.ellipse(surface, color, bounding_rectangle, width) #pygame.draw.rect(surface, color, rectangle_tuple, width) #making another shape import pygame import sys pygame.init() display = pygame.display.set_mode((300, 300)) display.fill((255, 255, 255)) pygame.draw.lines(display, (0,0,255), closed=True, points= [(20,20), (60,120), (200,180)], width=2) while True: for event in pygame.event.get(): if event.type == pygame.QUIT: pygame.quit() sys.exit pygame.display.update() #making an object round import pygame import sys pygame.init() display = pygame.display.set_mode((300, 300)) display.fill((255, 255, 255)) pygame.draw.circle(display, (0,0,255), center=(150,150), radius=50 width=0) while True: for event in pygame.event.get(): if event.type == pygame.QUIT: pygame.quit() sys.exit pygame.display.update()