Commit 33434591 by BellCodeEditor

save project

parent 0712cae6
Showing with 2 additions and 1 deletions
...@@ -6,7 +6,7 @@ while True: ...@@ -6,7 +6,7 @@ while True:
# 请用input()实现用户输入账号、密码的功能 # 请用input()实现用户输入账号、密码的功能
b=input('请输入你的密码') b=input('请输入你的密码')
if a==username and b==userpassword: if a==username and b==userpassword:
break
print("登陆成功") print("登陆成功")
break
else: else:
print("账号或密码错误") print("账号或密码错误")
\ 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