Commit 274a3eff by BellCodeEditor

save project

parent c66a449e
Showing with 17407 additions and 14 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
screen=turtle.Screen() screen=turtle
screen.bgcolor("light blue") screen.bgcolor("bule")
len=screen.textinput("100","100") len=int(screen.textinput("爱心大小""输入数字"))
len=int(len)
pen=turtle.Pen() pen=turtle.Pen()
pen.write("你好\nSB.",font=("Times",30,"normal")) pen.write("祖恩杰SB\nSB\n",font=("Times",30,"normal"))
pen.hideturtle() pen.hideturtle()
len=60 screen=turtle.Screen()
screen=turtle.pen()
pen=turtle.Pen()
pen.penup() pen.penup()
pen.goto(100,100) pen.goto(-100,0)
pen.pendown() pen.pendown()
pen.pensize(5) pen.pensize(3)
pen.pencolor("red") pen.pencolor("pink")
pen.left(45) pen.left(45)
pen.forward(2*len) pen.forward(80)
pen.circle(len,180) pen.circle(40,180)
pen.right(90) pen.right(90)
pen.circle(len,180) pen.circle(2*Lin)
pen.forward(2*len) pen.forward(80)
turtle.done() turtle.done()
++ "b/jkbb\343\200\202py"
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