Commit ef28bca9 by BellCodeEditor

save project

parent 4a7cb6b6
Showing with 12 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("用户名错误!")
if password!=b:
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