Commit 9c2bbc8c by BellCodeEditor

save project

parent abdc4498
Showing with 7 additions and 3 deletions
...@@ -6,5 +6,9 @@ while True: ...@@ -6,5 +6,9 @@ while True:
if x==username and y==userpassword: if x==username and y==userpassword:
print("密码正确") print("密码正确")
break break
else: if x != username:
print("密码错误") input("用户名不存在")
\ No newline at end of file if y != userpassword:
input("密码错误")
\ No newline at end of file
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