Commit ce68a8bc by BellCodeEditor

save project

parent 3512e1d5
Showing with 5 additions and 3 deletions
...@@ -10,7 +10,8 @@ while True: ...@@ -10,7 +10,8 @@ while True:
if username==name and password==userpassword: if username==name and password==userpassword:
print("登录成功") print("登录成功")
break break
else: if username!=name:
print("输入错误") print("用户名不存在,请重新输入")
print("请重新输入") if password!=userpassword:
print("密码输入错误,请重新输入")
print("欢迎来到打si老师游戏!!!!!!!!!!!!!!!!!!!!!!") print("欢迎来到打si老师游戏!!!!!!!!!!!!!!!!!!!!!!")
\ 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