Commit efcd77f1 by BellCodeEditor

save project

parent 50ffccbf
Showing with 6 additions and 0 deletions
...@@ -16,10 +16,16 @@ while True: ...@@ -16,10 +16,16 @@ while True:
break break
elif name!=username: elif name!=username:
print("用户名错误") print("用户名错误")
i-=1
print("还有"+str(i)+"次机会")
continue continue
else: else:
print("密码错误") print("密码错误")
i-=1
print("还有"+str(i)+"次机会")
continue continue
else: else:
print("你已经没机会了") print("你已经没机会了")
eixt() eixt()
......
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