Commit 54f48d8c by BellCodeEditor

auto save

parent b7111e7d
Showing with 4 additions and 4 deletions
...@@ -9,12 +9,12 @@ while True: ...@@ -9,12 +9,12 @@ while True:
if name == u and password == u1: if name == u and password == u1:
print("登录成功!") print("登录成功!")
break break
elif name!=u: if name!=u:
peint("用户名不存在 ,请重新输入") print("用户名不存在 ,请重新输入")
print("温馨提示:你还有"+str(i)+"次登录机会") print("温馨提示:你还有"+str(i)+"次登录机会")
continue
else: if password!=u1:
print("密码输入有误,请重新输入") print("密码输入有误,请重新输入")
print("温馨提示:你还有"+str(i)+"次登录机会") print("温馨提示:你还有"+str(i)+"次登录机会")
else: 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