Update fractals/sierpinski_triangle.py

This commit is contained in:
Tianyi Zheng 2023-07-31 19:55:36 -07:00 committed by GitHub
parent 2409c9fbdc
commit b849dd879d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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