Commit 3220ba49 by BellCodeEditor

save project

parent a0a8d063
Showing with 3 additions and 4 deletions
...@@ -6,10 +6,8 @@ while True: ...@@ -6,10 +6,8 @@ while True:
if name==username and name2==userpassword: if name==username and name2==userpassword:
print("成功") print("成功")
break break
print("重新输入") elif name != username:
if name = username:
print("账号错误") print("账号错误")
continue else:
if name = userpassword:
print("密码错误") 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