Commit eced85d9 by BellCodeEditor

save project

parent cf332f5d
Showing with 4 additions and 1 deletions
...@@ -7,6 +7,8 @@ while True: ...@@ -7,6 +7,8 @@ while True:
if username==name and userpassword==password: if username==name and userpassword==password:
print("密码正确") print("密码正确")
break break
else: if username!=name:
print("密码错误")
if userpassword!=password:
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