Commit 4dcfca38 by BellCodeEditor

save project

parent 9be07331
Showing with 13 additions and 0 deletions
username = "python"
userpassword = "123456"
i=3
while True:
name = input("输入用户名:")
pawd = input("输入密码:")
if username == name and userpassword == pawd:
print("登录成功")
break
if name!=username:
print("用户账号出错,请重新输入")
else:
if i==0
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