diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2018-06-29 05:10:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-29 05:10:05 (GMT) |
commit | 891a1f86d415779cf67ca23e626a868e586feb05 (patch) | |
tree | a852ba9e57d42f72ff2a9b79ef805b993b9dfebb /Lib/turtledemo/penrose.py | |
parent | d904c238ca3551750cb97d15d827c3e525970867 (diff) | |
download | cpython-891a1f86d415779cf67ca23e626a868e586feb05.zip cpython-891a1f86d415779cf67ca23e626a868e586feb05.tar.gz cpython-891a1f86d415779cf67ca23e626a868e586feb05.tar.bz2 |
bpo-14117: Make minor tweaks to turtledemo (GH-8002)
The 'wikipedia' example is now 'rosette', describing what it draws.
The 'penrose' print output is reduced. The 'tree' '1024'
output is eliminated.
Diffstat (limited to 'Lib/turtledemo/penrose.py')
-rwxr-xr-x | Lib/turtledemo/penrose.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/turtledemo/penrose.py b/Lib/turtledemo/penrose.py index b2a5813..e118d6a 100755 --- a/Lib/turtledemo/penrose.py +++ b/Lib/turtledemo/penrose.py @@ -144,9 +144,6 @@ def test(l=200, n=4, fun=sun, startpos=(0,0), th=2): draw(l, n, th) tracer(1) c = clock() - print("Calculation: %7.4f s" % (b - a)) - print("Drawing: %7.4f s" % (c - b)) - print("Together: %7.4f s" % (c - a)) 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)) |