Commit 390f29ad by BellCodeEditor

save project

parent a865ac80
Showing with 4 additions and 0 deletions
......@@ -13,15 +13,19 @@ while True:
if name!=username:
if password!=userpassword:
print("你是谁")
print("温馨提示,您还有"+str(i)+"次登录机会")
if name!=username:
if password!=userpassword:
print("密码错误")
name = input("你是什么用户名:")
else:
print("用户名错误")
print("温馨提示,您还有"+str(i)+"次登录机会")
else:
print("用户名错误")
print("温馨提示,您还有"+str(i)+"次登录机会")
if password!=userpassword:
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