Commit a1c1a81d by BellCodeEditor

save project

parent f54d5775
Showing with 8 additions and 3 deletions
...@@ -6,5 +6,10 @@ while True: ...@@ -6,5 +6,10 @@ while True:
if name ==l and password ==b: if name ==l and password ==b:
print("登录成功") print("登录成功")
break break
print("用户名或密码错误,请重新登录") if name != l:
print("欢迎来到编程世界") print("用户名不存在,请重新输入!")
\ No newline at end of file continue
if password != b:
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