Commit 4803c350 by BellCodeEditor

auto save

parent b21518c9
Showing with 2 additions and 5 deletions
import turtle import turtle
p=turtle.Pen() p=turtle.Pen()
p.speed(100)
p.shape("turtle") p.shape("turtle")
p.fillcolor("red") p.speed(10)
p.fillcolor("green") #black 黑色 red 红色 yellow 黄色 blue 蓝色
p.begin_fill() p.begin_fill()
for i in range(5): for i in range(5):
p.forward(200) p.forward(200)
p.right(144) p.right(144)
p.end_fill() p.end_fill()
p.hideturtle() p.hideturtle()
turtle.done() 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