Commit 6ee6e187 by BellCodeEditor

save project

parent 2d8fdadf
Showing with 7 additions and 3 deletions
......@@ -2,10 +2,13 @@
请使用turtle模块画出五角星
"""
import turtle
for i in range(5):
for i in range(36):
pen=turtle.Pen
pen.shape("turtle")
pen.forward(10)
pen.forward(200)
pen.left(170)
pen.done
turtle.fillcolor(red)
begin_fill()
end_fill()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment