Commit e04f4092 by BellCodeEditor

save project

parent 2b8e06df
Showing with 3 additions and 2 deletions
...@@ -3,9 +3,10 @@ b="eeeee" ...@@ -3,9 +3,10 @@ b="eeeee"
c=5 c=5
aa=input("账号:") aa=input("账号:")
bb=input("密码:") bb=input("密码:")
if a==aa and b==bb: while c==0:
if a==aa and b==bb:
print("登录成功!") print("登录成功!")
else: else:
print("输入错误!有人强行登录!还有"+c+"次机会!") print("输入错误!有人强行登录!还有"+c+"次机会!")
c=c-1 c=c-1
if c==0: if c==0:
......
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