How to draw an ellipse in Python turtle graphics other than stamping?
问题 I am trying to draw a letter "O" with Python turtle graphics. To cue the drawing of the "O", the function for it is invoked with a key press. Here is what I have so far: def draw_O(): # Draw an O penup() forward(letter_height/4) pendown() forward(letter_width/2) circle(letter_height/4, 90) forward(letter_height/2) circle(letter_height/4, 90) forward(letter_width/2) circle(letter_height/4, 90) forward(letter_height/2) circle(letter_height/4, 90) forward(letter_width/2) penup() forward(space