Commit 3354cbb4 by BellCodeEditor

save project

parent de1b2b42
Showing with 8 additions and 1 deletions
username = "sbsbsb" username = "sbsbsb"
userpassword = "54188" userpassword = "54188"
i=3
while True: while True:
if i==0:
n = input("请输入用户名:") n = input("请输入用户名:")
p = input("请输入密码:") p = input("请输入密码:")
i-=1
if n == username and p == userpassword: if n == username and p == userpassword:
print("登录成功傻逼好!") print("登录成功傻逼好!")
if n!=username: if n!=username:
...@@ -10,6 +13,9 @@ while True: ...@@ -10,6 +13,9 @@ while True:
continue continue
if p!=userpassword: if p!=userpassword:
print("傻逼错啦") print("傻逼错啦")
break else:
print("去找你爹我")
exit()
print("用户名和密码错误!请重新输入你个辣鸡") print("用户名和密码错误!请重新输入你个辣鸡")
exit()
print("欢迎来到傻逼世界!") 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