Commit e04f4092 by BellCodeEditor

save project

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