Commit 4726bd3e by BellCodeEditor

save project

parent c65d070a
Showing with 10 additions and 5 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
# pen=turtle.Pen() pen=turtle.Pen()
# pen.write("你没鸡鸡\n,你没小鸡鸡\n",font=('Time',10,'normal')) screen=turtle.Screen()
# pen.hideturtle() screen.bgcolor('yellow')
# turtle.done() pen.penup()
pen.goto(-300,-100)
pen.write("你没鸡鸡\n,你没小鸡鸡\n",font=('Time',10,'normal'))
pen.hideturtle()
p1=turtle.Pen() p1=turtle.Pen()
p1.pencolor('red') p1.pencolor('red')
p1.pensize(6) p1.pensize(6)
...@@ -13,5 +16,6 @@ p1.circle(50,180) ...@@ -13,5 +16,6 @@ p1.circle(50,180)
p1.right(90) p1.right(90)
p1.circle(50,180) p1.circle(50,180)
p1.forward(100) p1.forward(100)
pen.hideturtle()
p1.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