Commit 1ee4c8b8 by BellCodeEditor

save project

parent fe6427f7
Showing with 11 additions and 8 deletions
# 利用write()
import turtle
screen=turtle.Screen()
screen.bgcolor("gold")
# creen=tusrtle.Screen()
# screen.bgcolor("light blue")
# len=screen.textinput("100","100")
......@@ -20,10 +22,11 @@ import turtle
# pen.circle(len,180)
# pen.forward(2*len)
# turtle.done()
pen1=turtle.pen1
pen.pencolor("red")
pen.pensize(5)
left(45)
forword(100)
right(-45)
forword(100)
\ No newline at end of file
pen1=turtle.Pen()
pen1.pencolor("red")
pen1.pensize(5)
pen1.left(45)
pen1.forward(100)
pen1.right(-45)
pen1.forward(100)
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