Commit 36e853c4 by BellCodeEditor

save project

parent 1e5f7253
Showing with 4 additions and 1 deletions
...@@ -7,6 +7,8 @@ while true ...@@ -7,6 +7,8 @@ while true
if a==username and b==userpassword: if a==username and b==userpassword:
print("成功登录") print("成功登录")
break break
print("登录失败") if name!=username
print("账号错误")
if password
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