Commit 99b608fd by BellCodeEditor

save project

parent 5bb96074
Showing with 2 additions and 2 deletions
......@@ -5,9 +5,9 @@ userpassword = "123456" # 保存在服务器数据库中的用户密码(正
while True:
x=input("请输入你的账号")
y=input("请输入密码")
if x!=username and y==userpassword:
if x!=username:
print("账号输入有误,请重新输入")
if x==username and y!=userpassword:
if y!=userpassword:
print("密码输入有误,请重新输入")
if x==username and y==userpassword:
break
......
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