Commit a590e62f by BellCodeEditor

save project

parent 2605dc8a
Showing with 12 additions and 5 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
# import turtle import turtle
# pen=turtle.Pen() screen=turtle.Screen()
# pen.write("你好呀!诺依!\n好久不见!甚是想念呢~",font=("Times",25,"normal")) screen.bgcolor("pink")
# pen.hideturtle()
# turtle.done() pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
pen.write("你好呀!诺依!\n好久不见!甚是想念呢~",font=("Times",25,"normal"))
pen.hideturtle()
import turtle import turtle
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.pencolor("red") pen1.pencolor("red")
...@@ -14,4 +19,6 @@ pen1.circle(50,180) ...@@ -14,4 +19,6 @@ 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.hideturtle()
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