Commit 5f05d195 by BellCodeEditor

save project

parent 098d4c8b
Showing with 7 additions and 3 deletions
...@@ -7,9 +7,13 @@ while True: ...@@ -7,9 +7,13 @@ while True:
B=input("请输入密码:") B=input("请输入密码:")
if A==a and B==b: if A==a and B==b:
print("登录成功!") print("登录成功!")
break print('欢迎')
print("错误") if A!=a :
print("欢迎") print("账号错误")
if B!=b :
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