summaryrefslogtreecommitdiffstats
path: root/Lib/turtledemo/penrose.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/turtledemo/penrose.py')
-rwxr-xr-xLib/turtledemo/penrose.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/turtledemo/penrose.py b/Lib/turtledemo/penrose.py
index e118d6a..045722a 100755
--- a/Lib/turtledemo/penrose.py
+++ b/Lib/turtledemo/penrose.py
@@ -137,13 +137,10 @@ def test(l=200, n=4, fun=sun, startpos=(0,0), th=2):
goto(startpos)
setheading(0)
tiledict = {}
- a = clock()
tracer(0)
fun(l, n)
- b = clock()
draw(l, n, th)
tracer(1)
- c = clock()
nk = len([x for x in tiledict if tiledict[x]])
nd = len([x for x in tiledict if not tiledict[x]])
print("%d kites and %d darts = %d pieces." % (nk, nd, nk+nd))