Commit e539b411 by BellCodeEditor

save project

parent d8b6207f
Showing with 4 additions and 2 deletions
......@@ -8,8 +8,10 @@ while True:
if username==name and userpassword==password:
print("登陆成功!")
break
else:
print("输入错误!给我重输!")
if username!=name:
print("账号错了!重输!")
if userpassword!=password:
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