Commit aa8704e9 by BellCodeEditor

save project

parent ed858d46
Showing with 13 additions and 22 deletions
i=3
username = "python"
userpassword = "123456"
while True: import turtle
if i>0: pen=turtle.Pen()
name=input("请输入账号") distance=1
name2=input("密码") for i in range(300):
i-=1 pen.forward(distance)
if name==username and name2==userpassword: right(91)
print("成功") distance+=1
break pen.right(121)
elif name != username: pen.hireturtle()
print("账号错误") turtle.done()
print("温馨提示你还有"+str(i)+"机会")
else:
print("密码错误")
print("温馨提示你还有"+str(i)+"机会")
else:
print("账户锁定,请来我这解决")
exit()
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