Commit 8f62e956 by BellCodeEditor

save project

parent b8e50561
Showing with 6 additions and 1 deletions
...@@ -8,7 +8,12 @@ while True: ...@@ -8,7 +8,12 @@ while True:
if o==w and p==i: if o==w and p==i:
print("成功登录") print("成功登录")
break break
print("用户名或密码输入错误,请重新输入") if o != w :
print("用户名输入错误,请重新输入")
if p!=i:
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