Commit 13b4027b by BellCodeEditor

save project

parent 998d9651
Showing with 2 additions and 3 deletions
...@@ -9,10 +9,9 @@ while True: ...@@ -9,10 +9,9 @@ while True:
if o==w and p==i: if o==w and p==i:
print("成功登录") print("成功登录")
break break
if o != w : elif o != w :
print("用户名输入错误,请重新输入") print("用户名输入错误,请重新输入")
continue else :
if p!=i:
print('密码输入错误,请重新输入') print('密码输入错误,请重新输入')
#print("用户名或密码输入错误,请重新输入") #print("用户名或密码输入错误,请重新输入")
m=m+1 m=m+1
......
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