Commit 230d8a51 by BellCodeEditor

save project

parent fa2d2444
Showing with 2 additions and 1 deletions
......@@ -4,11 +4,12 @@ while True:
# 请用input()实现用户输入账号、密码的功能
name=input( "请输入账号")
password=input("请输入密码")
if username==name and password==userpassword:
if name==username and password==userpassword:
print("登陆成功")
break
if name!=username:
print("账号输入错误")
continue
if password!=userpassword
print("密码输入错误")
else:
......
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