Commit 7548fb14 by BellCodeEditor

auto save

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