Commit b9efa4f6 by BellCodeEditor

save project

parent ffef0891
Showing with 3 additions and 1 deletions
...@@ -12,10 +12,12 @@ while True: ...@@ -12,10 +12,12 @@ while True:
break break
if name !=username : if name !=username :
print("错误,用户不存在") print("错误,用户不存在")
print("还有",i,"次机会")
continue continue
if password !=userpassword : if password !=userpassword :
i-1
print("错误,密码有误") print("错误,密码有误")
print("还有",i,"次机会")
continue continue
print("欢迎") 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