Commit 85d21a4a by BellCodeEditor

auto save

parent a20fa771
Showing with 6 additions and 5 deletions
...@@ -4,9 +4,9 @@ import turtle ...@@ -4,9 +4,9 @@ import turtle
#pen.write("Hi,诺依~\n用python写电子贺卡真是太有趣啦~\n我也喜欢python~\n——悟空 ",font=("Times",18,"normal")) #pen.write("Hi,诺依~\n用python写电子贺卡真是太有趣啦~\n我也喜欢python~\n——悟空 ",font=("Times",18,"normal"))
#pen.hideturtle() #pen.hideturtle()
#画爱心 #画爱心
screen=turtle.Screen() #新添加程序
screen.bgcolor("blue") #新添加程序
pen1=turtle.Pen() pen1=turtle.Pen()
screen=turtle.Screen()
screen.bgcolor("blue")
pen1.pencolor("red") pen1.pencolor("red")
pen1.pensize(5) pen1.pensize(5)
pen1.left(45) pen1.left(45)
...@@ -15,8 +15,8 @@ pen1.circle(50,180) ...@@ -15,8 +15,8 @@ pen1.circle(50,180)
pen1.right(90) pen1.right(90)
pen1.circle(50,180) pen1.circle(50,180)
pen1.forward(100) pen1.forward(100)
pen1.penup() pen1.penup() #新添加程序
pen1.goto(180,-120) pen1.goto(180,-120) #新添加程序
pen1.write("你好",font=("Times",30,"normal")) pen1.write("你好",font=("Times",30,"normal")) #新添加程序
pen1.hideturtle() pen1.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