Commit b6497735 by BellCodeEditor

save project

parent fa695d68
Showing with 2 additions and 0 deletions
......@@ -8,9 +8,11 @@ while True:
i-=1
if name==username and password==userpassword:
print("登录成功")
print("提示你还有"+str(i)+"次")
break
if name!=username:
print("用户名错误,请在输入一遍")
print("提示你还有"+str(i)+"次")
continue
elif password!=userpassword:
print("密码错误,请在输入一遍")
......
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