Commit e8dfdcac by BellCodeEditor

save project

parent 8871768c
Showing with 12 additions and 14 deletions
i = 1
username = "1" username = "1"
userpassword = "1" userpassword = "1"
while True: while True:
if i > 0: name = input("请输入用户名:")
i-=1 password = input("请输入密码:")
name = input("请输入用户名:") if name == username and password == userpassword:
password = input("请输入密码:") print("登录成功!")
if name == username and password == userpassword: break
print("登录成功!") if username != name:
break print("你马,用户名都不记的您配吗?重输")
if username != name or userpassword != password: continue
print("你马,用户名和密码都不记的您配吗?重输") if userpassword != password:
continue print("你马,密码都不记的您配吗?重输")
else: continue
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