Commit 1e3ecee2 by BellCodeEditor

auto save

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