Commit f8e95b59 by BellCodeEditor

save project

parent 052374ba
Showing with 5 additions and 1 deletions
...@@ -7,7 +7,11 @@ while True: ...@@ -7,7 +7,11 @@ while True:
if username==name and userpassword==mima: if username==name and userpassword==mima:
print("登陆成功") print("登陆成功")
break break
print("请重新输入") if username != name:
print("用户名错误")
continue
if userpassword != mima:
print("密码错误")
print("欢迎来到#@#%…………¥%¥……") print("欢迎来到#@#%…………¥%¥……")
# 请用input()实现用户输入账号、密码的功能 # 请用input()实现用户输入账号、密码的功能
......
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