Commit d3c4eb05 by BellCodeEditor

save project

parent a99d323b
Showing with 3 additions and 3 deletions
......@@ -2,9 +2,9 @@ i=3
username = "python" # 保存在服务器数据库中的用户账号(正确的账号)
userpassword = "123456"
while True:
if i>0 # 保存在服务器数据库中的用户密码(正确的密码)
name=input("请输入用户名:")
password=input("请输入密码:")
if i>0: # 保存在服务器数据库中的用户密码(正确的密码)
name=input("请输入用户名:")
password=input("请输入密码:")
i-=1
if name == username and password == userpassword :
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