Commit 01dd7cb3 by BellCodeEditor

save project

parent fbeba071
Showing with 2 additions and 3 deletions
...@@ -9,10 +9,9 @@ while True: ...@@ -9,10 +9,9 @@ while True:
if name==username and password==userpassword: if name==username and password==userpassword:
print("嘿,塞班,你搞对喽!") print("嘿,塞班,你搞对喽!")
break break
continue elif name!=username:
if name!=username:
print("用户名不存在,请重新输入!") print("用户名不存在,请重新输入!")
if password!=userpassword: elif password!=userpassword:
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