Commit a3ddc6f6 by BellCodeEditor

save project

parent 13b4027b
Showing with 5 additions and 1 deletions
......@@ -7,7 +7,7 @@ while True:
w=input("你的名字是什么")
i=input('你的密码是什么?')
if o==w and p==i:
print("成功登录")
print("成功登录")
break
elif o != w :
print("用户名输入错误,请重新输入")
......@@ -18,6 +18,10 @@ while True:
if m>3:
print('连续三次输入错误。拒绝登录')
break
if o==w and p==i:
print("欢迎来到编程器")
else:
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