Commit 00f32ff5 by BellCodeEditor

save project

parent 12dfaa2b
Showing with 7 additions and 19 deletions
import turtle name="zhy"
screen=turtle.Screen() mima="1234567"
screen.bgcolor("light blue") name1=input("name?")
pen=turtle.Pen() mima1=input("mima?")
pen.penup() if name1==name and mima1==mima:
pen.goto(100,-100) print("成功")
pen.write("!!!",font=("Times",20,"normal")) \ No newline at end of file
pen.hideturtle()
pen1=turtle.Pen()
pen1.pencolor("red")
pen1.pensize(5)
len=screen.textinput("提示","你想要多大的爱心")
lovesize=int(len)
for i in range(6):
pen1.forward(lovesize)
pen1.right(120)
pen1.hideturtle()
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