Commit fe3e90a4 by BellCodeEditor

save project

parent ccd5eca4
Showing with 9 additions and 4 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("light blue") screen.bgcolor("dark red")
len=screen.textinput("200","200") len=screen.textinput("提示","快设置爱心的大小")
len=int(len) lovesize=int(len)
pen.left(45)
pen=turtle.Pen() pen=turtle.Pen()
pen.penup() pen.penup()
pen.goto(100,-100) pen.goto(100,-100)
pen.write("你好\nSB.",font=("Times",20,"normal")) pen.write("你好\n.",font=("Times",20,"normal"))
pen.hideturtle() pen.hideturtle()
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.pencolor("red") pen1.pencolor("red")
......
import turtle
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