Commit f6b785e8 by BellCodeEditor

save project

parent 9ae5421a
Showing with 6 additions and 10 deletions
username = "python" username = "python"
userpassword="123456" userpassword="123456"
while True:
shuruname =input("请输入用户名:")
shuruname =input("请输入用户名:") shurpwd = input("请输入密码:")
shurpwd = input("请输入密码:") if shuruname == username and shuruname == userpassword
if(shuruname == username and shuruname == userpassword)
print("登录成功!") print("登录成功!")
else else
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