Commit 81d5689c by BellCodeEditor

save project

parent 63036737
Showing with 12 additions and 0 deletions
reg_name="www"#注册的账号
df="123456"#注册的密码
while True:
login_name=input("请输入登录的账号:")
login_df=input("请输入登录的密码:")
if reg_name==login_name and df==login_df:
print("登录成功")
break
if reg_name!=login_name
print("账号错误,请重新输入:")
if df!=login_df
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