Commit 814b1aed by BellCodeEditor

save project

parent b10660e5
Showing with 10 additions and 5 deletions
import turtle import turtle
screen=turtle.Screen() screen=turtle.Screen()
len=screen.textinput("ts","nejdf")
lovesize=int(len)
screen.bgcolor("pink") screen.bgcolor("pink")
pen=turtle.Pen() pen=turtle.Pen()
pen.penup() pen.penup()
pen.goto(100,-100) pen.goto(100,-100)
pen.write("wawsda\nzwxwxzcdfgt\nfrhth",font=("times",5,"normal")) pen.write("wawsda\nzwxwxzcdfgt\nfrhth",font=("times",lovesize,"normal"))
pen.hideturtle() pen.hideturtle()
pen56=turtle.Pen() pen56=turtle.Pen()
pen56.fillcolor("red")
pen56.pencolor("red") pen56.pencolor("red")
pen56.pensize(9) pen56.pensize(9)
pen56.left(45) pen56.left(45)
pen56.forward(100) pen56.forward(2*lovesize)
pen56.circle(50,180) pen56.circle(lovesize,180)
pen56.right(90) pen56.right(90)
pen56.circle(50,180) pen56.circle(lovesize,180)
pen56.forward(100) pen56.begin_fill()
pen56.forward(2*lovesize)
pen56.hideturtle() pen56.hideturtle()
turtle.done() turtle.done()
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
\ 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