Commit cc84c405 by BellCodeEditor

save project

parent 75043183
Showing with 2 additions and 2 deletions
......@@ -11,11 +11,11 @@ while True:
if name != username:
i-=1
print("用户名错误,请重新输入!")
input("您还有"+str(i)"次机会")
print("您还有"+str(i)+"次机会")
if name != username
i-=1
print("密码错误,请重新输入!")
input("您还有"+str(i)"次机会")
print("您还有"+str(i)+"次机会")
continue
else:
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