Commit dbbd1d60 by BellCodeEditor

save project

parent eb6413d6
Showing with 3 additions and 1 deletions
...@@ -7,14 +7,16 @@ i=i-1 ...@@ -7,14 +7,16 @@ i=i-1
while True: while True:
if i==0: if i==0:
print("请带身份证来") print("请带身份证来")
if name=username and password==userpasscard: if name==username and password==userpasscard:
print("登陆成功") print("登陆成功")
break break
elif name!=username and password!=userpassword: elif name!=username and password!=userpassword:
print("账号不正确,请重新输入") print("账号不正确,请重新输入")
print("您还有两次登陆机会")
continue continue
else else
print("密码不正确,请重新输入") print("密码不正确,请重新输入")
print("您还有一次登陆机会")
continue continue
while True: while True:
print("欢迎来到贝尔编程") 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