Commit fa625018 by BellCodeEditor

save project

parent 4f8aa4da
Showing with 4 additions and 4 deletions
...@@ -9,11 +9,11 @@ while True: ...@@ -9,11 +9,11 @@ while True:
if username==a and userpassword==b: if username==a and userpassword==b:
print("登录成功!") print("登录成功!")
break break
if username!=a : if username!=a:
print("账号错误!请重新输入") print("账号错误!请重新输入")
continue if username==a:
if userpassword!=b : if userpassword!=b :
print("密码错误!请重新输入") print("密码错误!请重新输入")
print("欢迎来到贝尔编程!") print("欢迎来到贝尔编程!")
......
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