Commit 0c9da8ad by BellCodeEditor

save project

parent b010f673
Showing with 6 additions and 2 deletions
import turtle import turtle
请使用turtle模块画出五角星 请使用turtle模块画出五角星
pen=turtle.pen() pen=turtle.pen()
for i in ranght(5): pen.fillcolor("green")
pen.begin_fill()
for i in ranght(3):
pen.forward(200) pen.forward(200)
pen.left(36) pen.left(120)
pen.end_fill()
pen.hideturtle() pen.hideturtle()
turtle.dowe() turtle.dowe()
\ 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