Commit 0c34c8ad by BellCodeEditor

save project

parent 06dc5328
Showing with 3 additions and 0 deletions
...@@ -11,9 +11,11 @@ while True: ...@@ -11,9 +11,11 @@ while True:
break break
if username!=name: if username!=name:
print("名字错误,重新输入") print("名字错误,重新输入")
print("您还有"+str(i)+"次输入机会")
continue continue
if userpassword!=password: if userpassword!=password:
print("密码错误,重新输入") print("密码错误,重新输入")
print("您还有"+str(i)+"次输入机会")
print("您已3次密码错误,请拿身份证来我司解除") print("您已3次密码错误,请拿身份证来我司解除")
exit() exit()
print("欢迎来到贝尔编程!") print("欢迎来到贝尔编程!")
\ No newline at end of file
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