Commit 313fd4a8 by BellCodeEditor

save project

parent 7677e0e5
Showing with 4 additions and 1 deletions
......@@ -5,6 +5,7 @@ while True:
if i>0:
name=input("你的帐号是什么?")
password=input("你的密码是什么?")
i-=1
if name==username and password==userpassword:
print("登录成功")
break
......@@ -13,7 +14,8 @@ while True:
continue
if password!=userpassword:
print("请重新输入")
print(i)
else:
print("账号已被锁定")
exit()
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