Commit 0dcb4198 by BellCodeEditor

save project

parent 98c2ae26
Showing with 1 additions and 1 deletions
username = "python" username = "python"
userpassword = "123456" userpassword = "123456"
while True: while True:
name = input("请输入用户名")
if name != username: if name != username:
print("用户名错误") print("用户名错误")
continue continue
name = input("请输入用户名")
password = input("请输入密码") password = input("请输入密码")
if name == userpassword_1 and userpassword_1==userpassword: if name == userpassword_1 and userpassword_1==userpassword:
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