Commit 0bc5ae2e by BellCodeEditor

save project

parent b3c5fa31
Showing with 9 additions and 2 deletions
......@@ -4,6 +4,13 @@
import turtle as t
import time
t.color('red')
#设置填充颜色
t.fillcolor("red")
#开始填充
t.begin_fill()
for x in range(5):
t.forward(100)
t.right(144)
\ No newline at end of file
t.right(144)
#结束填充
t.end_fill()
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