Commit 9db42b25 by BellCodeEditor

save project

parent 382cf47a
Showing with 14 additions and 0 deletions
user='python'
password='12345'
while True:
a=input("输入用户名:")
b=input("输入密码:")
if user==a and password==b:
print("登录成功!")
break
if user!=a:
print("用户名错误!")
continue
if password!=b:
print("密码错误!")
continue
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