Commit 7a5481f7 by BellCodeEditor

auto save

parent 397ca244
Showing with 12 additions and 10 deletions
++ "b/rgxsg\343\200\202py"
"""
请使用turtle模块画出五角星
"""
import turtle
pen=turtle.Pen()
for i in range(5):
pen.forward(100)
pen.right(144)
pen.hideturtle()
turtle.done()
import turtle
g=turtle.Pen()
g.fillcolor("red")
g.begin_fill()
g.circle(50)
g.pencolor("yellow")
g.fillcolor("green")
g.circle(50,steps=5)
g.end_fill()
turtle.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