Commit c97f2880 by BellCodeEditor

save project

parent 7c365112
Showing with 7 additions and 3 deletions
...@@ -6,5 +6,9 @@ while True: ...@@ -6,5 +6,9 @@ while True:
if name == username and password == userpassword: if name == username and password == userpassword:
print("登录成功!") print("登录成功!")
break break
print("请重新登录") if username!=name:
print("欢迎大家") print("用户名错了")
\ No newline at end of file if userpassword!=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