Commit ddf1d1d5 by BellCodeEditor

save project

parent ed9b2be9
Showing with 9 additions and 6 deletions
sername = "牛逼" username = "牛逼"
userpassword = "258051" userpassword = "258051"
while True:
name = input("请输入你的用户名:") name = input("请输入你的用户名:")
pawd = input("请输入密码:") pawd = input("请输入密码:")
if username == name and userpassword == pawd: if username == name and userpassword == pawd:
print("登录成功✔") print("登录成功✔")
break break
if name!=sername: if name!=username:
print("用户账号错误,请输入") print("用户账号错误,请输入")
else:
if pawd!=userpassword: if pawd!=userpassword:
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