Commit 324200f7 by BellCodeEditor

save project

parent 4cadacb0
Showing with 6 additions and 1 deletions
i=5
i=3
username = "python" # 保存在服务器数据库中的用户账号(正确的账号)
userpassword = "123456"
while True:
......@@ -12,10 +15,12 @@ while True:
break
if name!=username:
print("用户名错误")
print("提示你有"+str(i)+"登录次数")
continue
if password!=userpassword:
print("密码不对")
print(提示你有"+str(i)+"登录次数")
else:
print("滚滚,在不滚就打110")
exit()
......
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