Commit d5c0edf1 by BellCodeEditor

save project

parent a566412d
Showing with 2 additions and 3 deletions
...@@ -7,9 +7,8 @@ while True: ...@@ -7,9 +7,8 @@ while True:
if username==name and userpassword==password: if username==name and userpassword==password:
print("正确") print("正确")
break break
if username!=name: elif username!=name:
print("用户名错误") print("用户名错误")
continue else:
if userpassword!=password:
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