Commit 5f15c51a by BellCodeEditor

save project

parent 68749536
Showing with 8 additions and 3 deletions
username = "SB"
userpassword = "1"
while True:
if e>0:
name = input("请输入用户名:")
password = input("请输入密码:")
e -= 1
if name == username and password == userpassword:
print("登录成功!")
break
......@@ -10,4 +12,7 @@ while True:
print("用户名不存在,请重新输入")
else:
print("密码有误,请重新输入")
print("欢迎来到SB!")
\ No newline at end of file
else:
print("你的账号已被冰冻,请五分钟后再次尝试")
exit()
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