Commit 44f04724 by BellCodeEditor

save project

parent b810c294
Showing with 20 additions and 0 deletions
i =5
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("你马,用户名和密码都不记的您配吗?重输")
print("你马,还有"+str(i)+"次机会,快点滚!")
continue
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