Commit 0f1ff386 by BellCodeEditor

save project

parent c201af35
Showing with 7 additions and 25 deletions
import turtle
screen=turtle.Screen()
screen.bgcolor("pink")
pen1=turtle.Pen()
pen1.penup()
pen1.goto(-100,-100)
pen1.write("祝你生日快乐",font=("Times",30,"normal"))
pen1.hideturtle()
pen=turtle.Pen()
pen.penup()
pen.goto(0,100)
pen.pendown()
pen.pensize(5)
ls=screen.textinput("写","你想要多大的爱心")
l=int(ls)
pen.pencolor("red")
pen.left(45)
pen.forward(2*l)
pen.circle(l,180)
pen.right(90)
pen.circle(l,180)
pen.forward(2*l)
pen.color('red')
pen.hideturtle()
turtle.done()
zh="www"
mm="123456"
name=input("输入账号:")
mima=input("输入密码:")
if name==zh and mima==mm:
print("登录成功")
\ 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