Commit 9edeafc3 by BellCodeEditor

save project

parent c99964ed
Showing with 6 additions and 3 deletions
......@@ -5,8 +5,10 @@ while True:
b=input("请输入用户密码:")
if a==username and b==userpassword:
print("密码正确,登陆成功")
print("登陆成功")
break
else:
print("密码错误,登陆失败")
if a!=username:
print("户名错误,请重新输入")
if b!=userpassword:
print("密码错误,请重新输入")
print("欢迎来到贝尔编程")
\ No newline at end of file
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