Commit f6b785e8 by BellCodeEditor

save project

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