Commit 977e371e by BellCodeEditor

save project

parent 05af09e5
Showing with 15 additions and 22 deletions
username = "鸡你太美" import turtle
userpassword = "114514" screen=turtle.Screen()
i=3 len=screen.textinput("提示","你想要多大的爱心!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!")
while True: bvesize=int(len)
if i>0: pen=turtle.Pen()
name = input("傻逼说用户名:") pen.pensize(10)
password = input("傻逼说密码:") pen.pencolor("yellow")
i-=1 pen.left(45)
if name == username and password == userpassword: pen.forward(2*bvesize)
print("登录成功!") pen.circle(bvesize ,180)
break pen.right(90)
print("还剩"+str(i)+"次机会") pen.circle( bvesize,180)
if name != username: pen.forward(2*bvesize)
print("用户名错误") turtle.done()
continue \ No newline at end of file
if password!=userpassword:
print("密码错误")
else:
print("账户已被锁定")
exit()
print("ok你现在可以滚了")
\ 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