Commit 18c257fe by BellCodeEditor

save project

parent 9cfafaa8
Showing with 19 additions and 12 deletions
username ="w" i=3
userpassword ="a" username ="wx993944"
userpassword ="Wxw820328"
while True: while True:
name = input("请输入账号:") if i>0:
password = input("请输入密码:") name = input("请输入账号:")
if name == username and password == userpassword: password = input("请输入密码:")
print("登录成功!") i-=1
break if name == username and password == userpassword:
if username!=name: print("登录成功!")
print("屏幕前面的二傻子账号输错了") break
continue if username!=name:
if userpassword!=password: print("屏幕前面的二傻子账号输错了")
print("屏幕前面的二傻子密码输错了") continue
if userpassword!=password:
print("屏幕前面的二傻子密码输错了")
else:
print("屏幕前面的二傻子,你连你自己密码和账号都忘了,你能记住什么呀!你赶紧给爷来爷的办公室取你的身份证")
exit()
print("欢迎来到贝尔编程!") 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