Commit 6e920b52 by BellCodeEditor

save project

parent 6a87b495
Showing with 9 additions and 7 deletions
username = "2" username = "54088"
userpassword = "1" userpassword = "08845"
while True: while True:
name = input("请输入用户名,傻逼:") name = input("请输入用户名,傻逼:")
if name != username:
print("用户名错误!请重新输入,傻逼@@@@@@!")
else:
break
while True:
password = input("请输入密码,傻逼:") password = input("请输入密码,傻逼:")
if name == username and password == userpassword: if password == userpassword :
print("登录成功,傻逼!") print("登录成功,傻逼!")
break break
if name != username: else:
print("用户名错误!请重新输入,傻逼@@@@@@!")
continue
if password != userpassword:
print("密码错误!请重新输入,傻逼@@@@@@!") print("密码错误!请重新输入,傻逼@@@@@@!")
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