Commit 626080c6 by BellCodeEditor

save project

parent 803fd52c
Showing with 6 additions and 3 deletions
......@@ -11,11 +11,15 @@ while True:
break
elif name == username and password != userpassword:
print("密码错误!请重新输入")
print("你还剩下"+str(i)+"机会")
elif name != username and password == userpassword:
print("用户名错误!请重新输入")
print("用户名错误!请重新输入")
print("你还剩下"+str(i)+"机会")
else:
print("用户名和密码错误!请重新输入")
print("你还剩下"+str(i)+"机会")
else:
print("密码已锁定")
exit()
print("欢迎来到贝尔编程!")
\ No newline at end of file
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