diff --git a/Ftriangle.py b/Ftriangle.py index 2a31364..2164725 100644 --- a/Ftriangle.py +++ b/Ftriangle.py @@ -1,5 +1,7 @@ import turtle +turtle.tracer(False) + def R(): turtle.right(60) def F(l, n): @@ -15,7 +17,6 @@ def F(l, n): R();R() F(l/2, n - 1) -turtle.speed(10) l = 100 n = 4 F(l,n) @@ -25,4 +26,5 @@ def F(l, n): R() R() F(l,n) -turtle.mainloop() \ No newline at end of file +turtle.update() +turtle.mainloop()