Commit f5d0872e by BellCodeEditor

save project

parent bef96363
Showing with 4 additions and 0 deletions
...@@ -5,6 +5,10 @@ while True: ...@@ -5,6 +5,10 @@ while True:
name=input("用户账号") name=input("用户账号")
password=input("用户密码") password=input("用户密码")
break break
if name !=username
print("用户名输入错误,请重新输入")
if password!=username
print("密码输入错误,请重新输入")
if name== username and password== userpassword if name== username and password== userpassword
print("登陆成功") print("登陆成功")
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