The window will now remain open after the fractal is finished being drawn, and will only close upon your click.

This commit is contained in:
yanvoi 2023-04-08 15:12:26 +02:00
parent 2f9b03393c
commit 2409c9fbdc

View File

@ -82,3 +82,4 @@ if __name__ == "__main__":
vertices = [(-175, -125), (0, 175), (175, -125)] # vertices of triangle
triangle(vertices[0], vertices[1], vertices[2], int(sys.argv[1]))
turtle.Screen().exitonclick()