Commit 7548fb14 by BellCodeEditor

auto save

parent bc17491b
Showing with 5 additions and 18 deletions
"""
请使用turtle模块画出五角
"""
import turtle
pen=tuptle.pen()
pen.fillcolor("red")
pen.begin_fill()
pen.forword(200)
pen.right(170)
pen.forword(200)
pen.right(170)
pen.forword(200)
pen.right(170)
pen.forword(200)
pen.right(170)
pen.forword(200)
pen.right(170)
pen.end_fill()
tuptle.done()
pen=turtle.pen()
pen.forward(200)
turtle.down()
\ 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