Commit 3971d13a by BellCodeEditor

save project

parent f13b1292
Showing with 4 additions and 0 deletions
...@@ -8,6 +8,10 @@ while True: ...@@ -8,6 +8,10 @@ while True:
if username == name and userpassword == password: if username == name and userpassword == password:
print("欢迎") print("欢迎")
break break
if name!= username
print("用户名错误")
if password != userpassword
print("密码错误")
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