Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 84718

Turtle graphics is a term in computer graphics for a method of programming vector graphics using a relative cursor (the "turtle") upon a Cartesian plane.

6 votes

Koch snowflake in Python with Turtle

Your code reads well and is easily understandable. On top of also finding that you might have too much constant (more on that in a little bit), I just have a few nitpicks: whitespace in expressions i …
301_Moved_Permanently's user avatar
4 votes
Accepted

Draw checker board

In essence, the code is well designed. You’ve split the code into simple, reusable functions and the logic is clear. But there are still improvements to be made: You relly on the global variable bo …
301_Moved_Permanently's user avatar
1 vote

Small turtle program using instruction strings to draw patterns

You seem to expect your var (or V) parameter to contain exactly P.keys(). First of, you could always check that using assert set(V) == set(P.keys()), which I find more understandable at first. Also n …
301_Moved_Permanently's user avatar