Commit e04f4092 by BellCodeEditor

save project

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