Commit 45d4814b by BellCodeEditor

save project

parent c1b369e3
Showing with 2 additions and 2 deletions
......@@ -9,10 +9,10 @@ while True:
y=input("请输入密码")
i=i-1
if x!=username:
print("账号输入有误,请重新输入")
print("账号输入有误,请重新输入还剩"+str(i)+"次机会")
continue
if y!=userpassword:
print("密码输入有误,请重新输入")
print("密码输入有误,请重新输入还剩"+str(i)+"次机会")
if x==username and y==userpassword:
break
else:
......
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