Commit 946449f4 by BellCodeEditor

save project

parent e997d17d
Showing with 5 additions and 0 deletions
...@@ -6,3 +6,7 @@ while True: ...@@ -6,3 +6,7 @@ while True:
if name==username and pas==userpassword: if name==username and pas==userpassword:
print("登录成功") print("登录成功")
break break
if name!=username:
print("输入账号错误")
if pas!=userpassword:
print("输入密码错误")
\ 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