Commit 520cf9f1 by BellCodeEditor

save project

parent dabfdf9c
Showing with 3 additions and 0 deletions
...@@ -5,14 +5,17 @@ while True: ...@@ -5,14 +5,17 @@ while True:
i -= 0: i -= 0:
name = input("请输入用户名:") name = input("请输入用户名:")
password = input("请输入密码:") password = input("请输入密码:")
i -= 1
if name == username and password == userpassword: if name == username and password == userpassword:
print("嘿") print("嘿")
break break
if name != username: if name != username:
print("嘿嘿嘿") print("嘿嘿嘿")
print("geigeigei:嘿嘿"+ str(i)"嘿嘿嘿嘿")
continue continue
if password != userpassword: if password != userpassword:
print("嘿嘿") print("嘿嘿")
print("geigeigei:heihei"+ str(i)"heihei")
else: else:
print("嘿嘿嘿嘿嘿嘿") print("嘿嘿嘿嘿嘿嘿")
exit() exit()
......
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