Commit 5d4d1260 by BellCodeEditor

save project

parent 8c5b844e
Showing with 2 additions and 1 deletions
...@@ -11,10 +11,11 @@ while True: ...@@ -11,10 +11,11 @@ while True:
elif: elif:
username!=name: username!=name:
print("用户错误") print("用户错误")
print("还有"+str(i)"次机会")
else: else:
userpassword!=password userpassword!=password
print("密码错误") print("密码错误")
print("还有"+str(i)"次机会")
if i>3: if i>3:
exit() exit()
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