Commit 21add7ab by BellCodeEditor

save project

parent 45666842
Showing with 1 additions and 5 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("light blue") screen.bgcolor("light blue")
...@@ -11,10 +10,6 @@ pen.penup() ...@@ -11,10 +10,6 @@ pen.penup()
pen.goto(100,100) pen.goto(100,100)
pen.pendown() pen.pendown()
pen.pensize(5) pen.pensize(5)
penl.penup()
penl.goto(-200,0)
penl.write("要输入\n\n的文字.....",font=("Times",20)"normal")
pen.P
pen.pencolor("red") pen.pencolor("red")
pen.left(45) pen.left(45)
pen.forward(2*len) pen.forward(2*len)
...@@ -23,3 +18,4 @@ pen.right(90) ...@@ -23,3 +18,4 @@ pen.right(90)
pen.circle(len,180) pen.circle(len,180)
pen.forward(2*len) pen.forward(2*len)
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