Commit 242f9171 by BellCodeEditor

save project

parent 505c43cb
Showing with 4 additions and 0 deletions
b=5
c=0
username = "1"
userpassword = "1"
......@@ -5,14 +6,17 @@ while True:
a = input("请输入用户名:")
b = input("请输入密码:")
c+=1
b=b-1
if a == username and b == userpassword:
break
print("登录成功!")
else:
if a != username:
print("用户名不存在!请重新输入")
print("你还有"+str(i)+"次")
if b != userpassword:
print("密码错误!请重新输入")
print("你还有"+str(i)+"次")
if c==5:
print("你的帐号即将被摧毁,请在3秒内支付10000¥停止摧毁帐号!!!")
wait(1)
......
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