Commit 9985e35c by BellCodeEditor

save project

parent 0ddb5e5e
Showing with 3 additions and 1 deletions
......@@ -8,10 +8,11 @@ while True:
break
if name != username and password != userpassword:
print("用户名和密码错误!请重新输入")
continue
if name != username and password == userpassword:
print("用户名错误,请重新输入")
continue
if password != userpassword and name == username:
print("密码错误,请重新输入")
continue
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