Commit 93325320 by BellCodeEditor

save project

parent e12ddcd9
Showing with 22 additions and 21 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
screen=turtle.Screen() p=turtle.Pen()
screen.bgcolor("light blue") s=turtle.Screen()
len=screen.textinput("100","100") s.bgcolor("light blue")
len=int(len) p.penup()
pen=turtle.Pen() p.goto(100,-100)
pen.write("你好\nSB.",font=("Times",30,"normal")) p=turtle.Pen()
pen.hideturtle() p.write("你好吖,智障",font=("宋体",30,"normal"))
len=60
pen.penup()
pen.goto(100,100)
pen.pendown() p1=turtle.Pen()
pen.pensize(5) p1.pensize(5)
pen.pencolor("red") p1.pencolor("red")
pen.left(45) p1.left(45)
pen.forward(2*len) p1.forward(100)
pen.circle(len,180) p1.circle(50,180)
pen.right(90) p1.right(90)
pen.circle(len,180) p1.circle(50,180)
pen.forward(2*len) p1.forward(100)
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