Commit 228570b4 by BellCodeEditor

save project

parent 8f1b4f37
Showing with 16 additions and 12 deletions
......@@ -2,16 +2,19 @@
请使用turtle模块画出五角
"""
import turtle
pen=tuptle.pen
pen.forword(200)
pen.right(144)
pen.forword(200)
pen.right(144)
pen.forword(200)
pen.right(144)
pen.forword(200)
pen.right(144)
pen.forword(200)
pen.right(144)
turtle.done()
pen=tuptle.pen()
pen.fillcolor("red")
pen.begin_fill()
pen.forword(200)
pen.right(34)
pen.forword(200)
pen.right(34)
pen.forword(200)
pen.right(34)
pen.forword(200)
pen.right(34)
pen.forword(200)
pen.right(34)
pen.end_fill()
tuptle.done()
\ 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