Commit e8dfdcac by BellCodeEditor

save project

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