Commit 6e920b52 by BellCodeEditor

save project

parent 6a87b495
Showing with 12 additions and 11 deletions
username = "2" username = "54088"
userpassword = "1" userpassword = "08845"
while True: while True:
name = input("请输入用户名,傻逼:") name = input("请输入用户名,傻逼:")
password = input("请输入密码,傻逼:")
if name == username and password == userpassword:
print("登录成功,傻逼!")
break
if name != username: if name != username:
print("用户名错误!请重新输入,傻逼@@@@@@!") print("用户名错误!请重新输入,傻逼@@@@@@!")
continue else:
if password != userpassword: break
print("密码错误!请重新输入,傻逼@@@@@@!") while True:
print("欢迎来到干饭人吃瓜论坛!……^_^……") password = input("请输入密码,傻逼:")
\ No newline at end of file if password == userpassword :
print("登录成功,傻逼!")
break
else:
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