Commit f86fd724 by BellCodeEditor

save project

parent b37cd311
Showing with 15 additions and 3 deletions
...@@ -8,5 +8,18 @@ while True: ...@@ -8,5 +8,18 @@ while True:
if username==name and userpassword==password:# 如果用户输入的账号、密码正确,提示登陆成功 if username==name and userpassword==password:# 如果用户输入的账号、密码正确,提示登陆成功
print("登陆成功") print("登陆成功")
break break
print("密码错误,请重新输入。") if username!=name:
print("。") print("账号错误")
\ No newline at end of file if userpassword!=password:
print("密码错误")
print("欢迎使用bellcode")
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