Commit eeab7eac by BellCodeEditor

save project

parent 5c9b87bd
Showing with 25 additions and 0 deletions
hdqhdqywh=5
username = "648"
userpassword = "olso648"
while True:
if hdqhdqywh!=0:
name = input("请输入用户名:")
password = input("请输入密码:")
if name == username and password == userpassword:
print("登录成功!")
break
else:
hdqhdqywh-=1
if name==username and password!=userpassword:
print("账号错误")
else:
if name!=username and password==userpassword:
print("密码错误")
else:
if name!=username and password!=userpassword:
print("你“输”对了。congratulation。")
else:
print("你账号被锁了,充648以示尊重。")
exit()
print("欢迎来到648编程!")
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