Commit 625e5cdf by BellCodeEditor

save project

parent 3fed79b3
Showing with 4 additions and 0 deletions
...@@ -6,11 +6,15 @@ while True: ...@@ -6,11 +6,15 @@ while True:
userpasswordprint = input("请输入密码:") userpasswordprint = input("请输入密码:")
if username == usernameprint and userpassword == userpasswordprint: if username == usernameprint and userpassword == userpasswordprint:
print("登录成功!") print("登录成功!")
print("欢迎!")
break break
if username != usernameprint: if username != usernameprint:
print("账号错误,请重试") print("账号错误,请重试")
print("提示:你喜欢的编程语言是嘛玩意")
continue
if userpassword != userpasswordprint: if userpassword != userpasswordprint:
print("密码错误,请重试") print("密码错误,请重试")
print("提示:最简单的密码")
......
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