Commit acd809bb by BellCodeEditor

save project

parent c135cf73
Showing with 8 additions and 2 deletions
username = "蔡徐坤"
userpassword = "123456"
while True:
if i>0:
name = input("用户名:")
password = input("密码:")
i-=1
if name == username and password == userpassword:
print("登录成功!")
break
elif name != username:
if name != username:
print("用户名,重新输入")
else:
if
print("密码,重新输入")
else:
print("锁定")
exit()
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