Commit 1eb9e8c3 by BellCodeEditor

save project

parent 7431aa1a
Showing with 5 additions and 3 deletions
i=3
i=2
username = "zheng"
userpassword = "245418"
while True:
......@@ -10,11 +10,13 @@ while True:
break
if n != username:
print("用户名出错")
print("还有"+i+"次机会")
print("还有",i,"次机会")
i-=1
continue
if m !=userpassword:
print("密码出错")
print("还有"+i+"次机会")
print("还有",i,"次机会")
i-=1
else:
print("账号已冻结")
exit()
......
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