Commit 1dba8f21 by BellCodeEditor

save project

parent f86a3445
Showing with 4 additions and 4 deletions
...@@ -6,10 +6,9 @@ while True: ...@@ -6,10 +6,9 @@ while True:
if name==username and userpassword==password: if name==username and userpassword==password:
print("登陆成功") print("登陆成功")
break break
if name != username: if name!=username:
print("name") print("name")
continue if userpassword!=password:
if password != userpassword:
print("password") print("password")
print("用户名和密码错误!请重新输入")
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