Commit 11bcb1e7 by BellCodeEditor

save project

parent 80d28ce4
Showing with 3 additions and 0 deletions
...@@ -13,6 +13,8 @@ while True: ...@@ -13,6 +13,8 @@ while True:
if password != userpassword: if password != userpassword:
print("密码错误") print("密码错误")
i+=1 i+=1
b=3-i
print("剩余次数:"+b)
if i==3: if i==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