Commit 84e36d0c by BellCodeEditor

save project

parent e4351f3a
Showing with 5 additions and 0 deletions
......@@ -5,10 +5,15 @@ while True:
a=input("请输入账号:")
a1=input("请输入密码:")
a1=int(a1)
i=3
while True:
if a==usename and a1==usepassword:
print("登录成功")
break
else:
i-=1
if i==0:
exit()
if a!=usename:
print("用户名错误")
else:
......
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