Commit 388933c1 by BellCodeEditor

save project

parent e948f589
Showing with 3 additions and 2 deletions
...@@ -9,11 +9,12 @@ while True: # 保存在服务器数据库中的用户密码(正确的密码 ...@@ -9,11 +9,12 @@ while True: # 保存在服务器数据库中的用户密码(正确的密码
print("登录成功") print("登录成功")
break break
else: else:
print("用户密码错误") print("用户密码错误,您还有"+str(i)+"次机会")
i=i-1 i=i-1
continue continue
else: else:
print("用户账号错误") print("用户账号错误,您还有"+str(i)"次机会")
i=i-1 i=i-1
continue continue
if i=0: if i=0:
......
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