Commit c55e819f by BellCodeEditor

save project

parent 33a2e3ba
Showing with 4 additions and 3 deletions
...@@ -3,11 +3,12 @@ userpassword = "54188" ...@@ -3,11 +3,12 @@ userpassword = "54188"
while True: while True:
n = input("请输入用户名:") n = input("请输入用户名:")
p = input("请输入密码:") p = input("请输入密码:")
if name == username and password == userpassword: if n == username and p == userpassword:
print("登录成功傻逼好!") print("登录成功傻逼好!")
if n!=username if n!=username:
print("辣鸡错啦") print("辣鸡错啦")
if p!=userpassword continue
if p!=userpassword:
print("傻逼错啦") print("傻逼错啦")
break break
print("用户名和密码错误!请重新输入你个辣鸡") print("用户名和密码错误!请重新输入你个辣鸡")
......
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