Commit cd5987c8 by BellCodeEditor

save project

parent 1ed0b865
Showing with 6 additions and 3 deletions
......@@ -7,8 +7,11 @@ while True:
# 如果用户输入的账号、密码正确,提示登陆成功
if name1==username and name2==userpassword:
print("密码正确")
print("欢迎进入贝尔编程的世界")
break
else:
print("输入错误,请重新输入")
if name1!=username:
print("username输入错误")
if name2!=userpassword:
print("userpassword输入错误")
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