Commit d8a6ce28 by BellCodeEditor

save project

parent a509794b
Showing with 5 additions and 5 deletions
"""
请使用turtle模块画出五角星
"""
import turtle
u=turtle. Pen(red)
import turtle.pen=
u=turtle.
for i in range(5):
u.forward(100)
u.forward(200)
u.right(144)
u.hideturtle()
turtle. done(end_)
u.hideturtle(begin_fill)
turtle. done(end_fill)
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