Commit 5d4bf471 by BellCodeEditor

save project

parent 06cb0412
Showing with 25 additions and 2 deletions
import turtle
pen1=turtle.Pen()
pen1.pensize(20)
pen1.pencolor("blue")
pen1.left(90)
pen1.circle(50,360)
pen1.pencolor("yellow")
pen1.left(90)
pen1.circle(50,360)
pen1.pencolor("black")
pen1.left(90)
pen1.circle(50,360)
pen1.pencolor("black")
pen1.circle(50,180)
pen1.pencolor("green")
pen1.left(90)
pen1.circle(50,360)
pen1.pencolor("red")
pen1.left(90)
pen1.circle(50,360)
pen1.hideturtle()
turtle.done()
\ No newline at end of file
...@@ -8,7 +8,7 @@ pen.pencolor("red") ...@@ -8,7 +8,7 @@ pen.pencolor("red")
pen.write("你好傻\n! ! ! ",font=("Times",40,"normal")) pen.write("你好傻\n! ! ! ",font=("Times",40,"normal"))
pen.hideturtle() pen.hideturtle()
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.pensize(90) pen1.pensize(20)
pen1.pencolor("red") pen1.pencolor("red")
pen1.left(45) pen1.left(45)
pen1.forward(100) pen1.forward(100)
......
...@@ -11,7 +11,7 @@ len=60 ...@@ -11,7 +11,7 @@ len=60
pen.penup() pen.penup()
pen.goto(100,100) pen.goto(100,100)
pen.pendown() pen.pendown()
pen.pensize(200) pen.pensize(25)
pen.pencolor("red") pen.pencolor("red")
pen.left(45) pen.left(45)
pen.forward(2*len) pen.forward(2*len)
......
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