Commit a566412d by BellCodeEditor

save project

parent 7b247bbc
Showing with 4 additions and 4 deletions
......@@ -5,10 +5,11 @@ while True:
name=input("用户名")
password=input("密码")
if username==name and userpassword==password:
print("密码正确")
print("正确")
break
if username!=name:
print("密码错误")
print("用户名错误")
continue
if userpassword!=password:
print("密码错误")
print("欢迎来到实力至上主义的教室")
\ No newline at end of file
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