Commit b2df66c5 by BellCodeEditor

save project

parent bc6f4601
Showing with 6 additions and 2 deletions
...@@ -12,4 +12,8 @@ while True: ...@@ -12,4 +12,8 @@ while True:
if name !=userpassword: if name !=userpassword:
print("用户名错") print("用户名错")
if password !=userpassword: if password !=userpassword:
# 如果用户输入的账号、密码正确,提示登陆成功 print("密码错")
\ No newline at end of file else:
print("一小时再来")
exit()
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