Commit c1bb5dd4 by BellCodeEditor

save project

parent f710b120
Showing with 3 additions and 2 deletions
......@@ -7,13 +7,14 @@ while True:
password = input("请输入密码:")
i-=1
if name == username and password == userpassword:
print("登录成功!")
dreak
print("登录成功!")
if name != username and password == userpassword:
print("用户名错误")
print("提示:你还有"+str(i)+"次数")
continue
if name == username and password != userpassword:
print("密码错误")
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