Commit 5979da78 by BellCodeEditor

save project

parent f5d669dc
Showing with 3 additions and 4 deletions
......@@ -6,11 +6,10 @@ while True:
if name == username and password == userpassword:
print("登录成功!")
break
#用户名不正确
if name != username:
elif name != username:
print("用户名不正确")
#密码不正确
if password != userpassword:
else:
print("密码不正确")
print("欢迎来到贝尔编程!")
continue
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