Commit 74fa8415 by BellCodeEditor

auto save

parent 9bc780d4
Showing with 5 additions and 2 deletions
......@@ -2,8 +2,11 @@
请使用turtle模块画出五角星
"""
import turtle
for i in range(5):
turtle.fillcolor("yellow")
turtle.begin_fill()
for i in range(10):
turtle.fd(150)
turtle.right(144)
turtle.right(36)
turtle.end_fill()
turtle.hideturtle()
turtle.done()
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