Commit d5bf96d6 by BellCodeEditor

save project

parent 2dc3b34a
Showing with 4 additions and 0 deletions
...@@ -11,9 +11,12 @@ while True: ...@@ -11,9 +11,12 @@ while True:
break break
elif name!=username: elif name!=username:
print("用户名输入错误") print("用户名输入错误")
print("温馨提示:你还有"+str(i)+"次机会")
continue continue
else: else:
print("密码输入错误") print("密码输入错误")
print("温馨提示:你还有"+str(i)+"次机会")
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