Commit 444af8d8 by BellCodeEditor

save project

parent d737f018
Showing with 3 additions and 3 deletions
...@@ -8,10 +8,10 @@ while True: ...@@ -8,10 +8,10 @@ while True:
if username==name and userpassword==passward: if username==name and userpassword==passward:
print("密码正确") print("密码正确")
break break
if userpassword!=name: elif userpassword!=name:
print("用户名错误") print("用户名错误")
continue else:
if userpassword!=passward: # userpassword!=passward:
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