Commit 9438d295 by BellCodeEditor

save project

parent 5c9b87bd
Showing with 25 additions and 0 deletions
pp=3
a="wudi"
b="zyh20091206"
while True:
if pp>0:
q=input("请输入用户名")
w=input("请输入密码")
if a==q and b==w:
print("登录成功")
break
if a!=q :
print("用户名错误,请重新输入")
pp=pp-1
else:
print("密码错误,请重新输入")
pp=pp-1
if a!=q and b!=w:
print("用户名和密码错误,请重新输入")
pp=pp-1
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