mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-25 10:28:39 +00:00
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:
parent
2f9b03393c
commit
2409c9fbdc
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user