Commit 86a56440 by BellCodeEditor

save project

parent 6760a877
Showing with 11 additions and 2 deletions
username = "小暗蜂"
userpassword = "eses1470"
i=5
while i>0:
i=3
while True:
if i>0:
name=input("名?")
password=input("密?")
if name != username:
i=i-1
print("用户名错误!请重新输入")
print(str(i))
if password != userpassword:
i=i-1
print("密码错误!请重新输入")
print(str(i))
if name == username and password == userpassword:
print("登录成功!")
break
else:
print("滚!!!!!!!!!!!!!!!!!!!!!!!!!!!!")
exit()
print("SB")
\ 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