Commit 233bd00a by BellCodeEditor

save project

parent 86086713
Showing with 4 additions and 0 deletions
...@@ -10,3 +10,6 @@ password = input("请输入账号:") ...@@ -10,3 +10,6 @@ password = input("请输入账号:")
# 如果用户输入的账号、密码正确,提示登陆成功 # 如果用户输入的账号、密码正确,提示登陆成功
if userusername == name and userpassword == password if userusername == name and userpassword == password
print("登录成功") print("登录成功")
break
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