Commit 4459b3e0 by BellCodeEditor

save project

parent f5ee7e49
Showing with 11 additions and 8 deletions
...@@ -2,19 +2,22 @@ ...@@ -2,19 +2,22 @@
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
s=turtle.Screen() s=turtle.Screen()
s.bgcolor("pink") s.bgcolor("deeppink")
pen.pencolor("red") pen.pencolor("crimson")
pen.penup() pen.penup()
pen.goto(100,0) pen.goto(10,-210)
pen.pendown() pen.pendown()
pen.write("诺依,\ngood morning\nI Love You",font=("Times",20,"normal")) pen.write("诺依,\ngood morning\nthis is a new year\nI want to tell you one thing\nI Love You",font=("Times",20,"normal"))
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.penup()
pen1.goto(-80,0)
pen1.pendown()
pen1.pensize(5) pen1.pensize(5)
pen1.pencolor("red") pen1.pencolor("red")
pen1.left(45) pen1.left(45)
pen1.forward(100) pen1.forward(150)
pen1.circle(50,180) pen1.circle(75,180)
pen1.right(90) pen1.right(90)
pen1.circle(50,180) pen1.circle(75,180)
pen1.forward(100) pen1.forward(150)
turtle.done() 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