Commit 2dbc650e by BellCodeEditor

save project

parent 58b78356
Showing with 2 additions and 1 deletions
...@@ -8,10 +8,11 @@ while True: ...@@ -8,10 +8,11 @@ while True:
b-=1 b-=1
if name != username: if name != username:
print(" 用户名错误!") print(" 用户名错误!")
print("你还剩次")str print(b) print("你还剩"+str print(b)+"次")
continue continue
elif password != userpassword : elif password != userpassword :
print("密码错误!") print("密码错误!")
print("你还剩"+str print(b)+"次")
continue continue
else : else :
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