Commit 36518ddf by BellCodeEditor

save project

parent 0a4db881
Showing with 6 additions and 0 deletions
c=4
username = "python" # 保存在服务器数据库中的用户账号(正确的账号) username = "python" # 保存在服务器数据库中的用户账号(正确的账号)
userpassword = "123456" # 保存在服务器数据库中的用户密码(正确的密码) userpassword = "123456" # 保存在服务器数据库中的用户密码(正确的密码)
while True: while True:
...@@ -10,6 +11,11 @@ while True: ...@@ -10,6 +11,11 @@ while True:
print("用户名错误") print("用户名错误")
else: else:
print("密码错误") print("密码错误")
print("次数还剩"+str(c))
c=c-1
if c==0:
print("次数用完,请去解锁")
exit()
print("欢迎来到贝尔星球") 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