Commit 14e9e2f7 by BellCodeEditor

save project

parent 79d0e9c6
Showing with 3 additions and 0 deletions
...@@ -4,8 +4,10 @@ while True: ...@@ -4,8 +4,10 @@ while True:
name = input("请输入用户名:") name = input("请输入用户名:")
password = input("请输入密码:") password = input("请输入密码:")
if name != username: if name != username:
continue
print("账户输入错误!") print("账户输入错误!")
if passwork != userpassword: if passwork != userpassword:
continue
print("密码输入错误!") print("密码输入错误!")
break break
print("欢迎") 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