triangle in pygame code example
Example: triangle pygame
pg.draw.polygone(surface=window, color=(255,0,0), points=[(50,100), (100,50), (150,100)])
pg.draw.polygone(surface=window, color=(255,0,0), points=[(50,100), (100,50), (150,100)])