Commit 6ebe9cd6 by BellCodeEditor

auto save

parent 34590ede
Showing with 14 additions and 12 deletions
...@@ -2,18 +2,20 @@ i=3 ...@@ -2,18 +2,20 @@ i=3
username="python" username="python"
userpassword="123456" userpassword="123456"
while True: while True:
passname=input("输入名字") passname=input("输入名字")
password=input("输入密码") password=input("输入密码血")
i-=1 i-=1
if name==username and password == userpassword: if i<0:
print("登陆成功") if name==username and password == userpassword:
break print("登陆成功")
if name != username: break
print("用户名错误") if name != username:
continue print("用户名错误")
if password != userpassword: print("w")z
print("密码有误") continue
else: if password != userpassword:
print("密码有误")
else:
print("账号已注销") print("账号已注销")
wait(1145) wait(1145)
continue continue
......
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