Commit 1b57c1ab by BellCodeEditor

save project

parent 99d00f86
Showing with 22 additions and 2 deletions
import turtle import turtle
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("light blue") screen.bgcolor("light yellow")
p=turtle.Pen() p=turtle.Pen()
p.penup() p.penup()
p.goto(100,-100) p.goto(100,-100)
p.write("你好,SB\n 我是你爸爸",font=("Times",30,"normal")) p.write("你好,SB\n 我是你爸爸",font=("Times",28,"normal"))
p.hideturtle() p.hideturtle()
p1=turtle.Pen() p1=turtle.Pen()
p1.pencolor("red") p1.pencolor("red")
...@@ -18,3 +18,23 @@ p1.circle(b,180) ...@@ -18,3 +18,23 @@ p1.circle(b,180)
p1.forward(2*b) p1.forward(2*b)
p1.hideturtle() p1.hideturtle()
turtle.done() turtle.done()
# screen=turtle.Screen()
# screen.bgcolor("light yellow")
# p=turtle.Pen()
# p.penup()
# p.goto(100,-100)
# p.write("你好,SB\n 我是你爸爸",font=("Times",28,"normal"))
# p.hideturtle()
# p1=turtle.Pen()
# p1.pencolor("red")
# b=80
# p1.pensize(20)
# p1.left(45)
# p1.forward(2*b)
# p1.circle(b,180)
# p1.right(90)
# p1.circle(b,180)
# p1.forward(2*b)
# p1.hideturtle()
# 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