Commit 18c257fe by BellCodeEditor

save project

parent 9cfafaa8
Showing with 19 additions and 12 deletions
username ="w"
userpassword ="a"
i=3
username ="wx993944"
userpassword ="Wxw820328"
while True:
name = input("请输入账号:")
password = input("请输入密码:")
if name == username and password == userpassword:
print("登录成功!")
break
if username!=name:
print("屏幕前面的二傻子账号输错了")
continue
if userpassword!=password:
print("屏幕前面的二傻子密码输错了")
if i>0:
name = input("请输入账号:")
password = input("请输入密码:")
i-=1
if name == username and password == userpassword:
print("登录成功!")
break
if username!=name:
print("屏幕前面的二傻子账号输错了")
continue
if userpassword!=password:
print("屏幕前面的二傻子密码输错了")
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