Commit 7c8b37e3 by BellCodeEditor

save project

parent aede87ab
Showing with 8 additions and 1 deletions
...@@ -2,4 +2,10 @@ ...@@ -2,4 +2,10 @@
请使用turtle模块画出五角星 请使用turtle模块画出五角星
""" """
import turtle import turtle
a=turtle.Pen a=turtle.Pen()
a.shape("arrow")
for i in range(5):
a.forward(200)
a.left(144)
a.hideturtle()
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