Commit 1fddc615 by BellCodeEditor

save project

parent a140e061
Showing with 7 additions and 1 deletions
c=0
username = "1"
userpassword = "1"
while True:
a = input("请输入用户名:")
b = input("请输入密码:")
c+=1
if a == username and b == userpassword:
break
print("登录成功!")
......@@ -11,7 +13,11 @@ while True:
print("用户名不存在!请重新输入")
if b != userpassword:
print("密码错误!请重新输入")
print("欢迎来到贝尔编程!
if c==3:
print("帐号已被摧毁,请支付10000¥恢复帐号!!!")
exit()
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