Commit 009450bb by BellCodeEditor

save project

parent 13b6eff3
Showing with 12 additions and 6 deletions
...@@ -2,15 +2,21 @@ ...@@ -2,15 +2,21 @@
#name = input("请输入你的名字:") #name = input("请输入你的名字:")
#turtle #turtle
#
import turtle
import turtle
turtle.shape("turtle")
turtle.pen() turtle.pen()
#画直线
for z in range(5):
turtle.forward(120) turtle.fillcolor("yellow")
turtle.right(144)
turtle.begin_fill()
for z in range(360):
turtle.forward(1)
turtle.right(1)
turtle.end_fill()
turtle.done() 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