Commit d2ad08c4 by BellCodeEditor

save project

parent e02477c5
Showing with 3 additions and 10 deletions
"""
请使用turtle模块画出五角星
"""
import turtle as e
p =e.Pen()
e.tracer(0)
p.hideturtle()
p.fillcolor("yellow")
p.begin_fill()
for i in range(1000):
p.fd(i)
p.right(160)
p.end_fill()
e.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