Commit c7e4764b by BellCodeEditor

auto save

parent a326c733
Showing with 4 additions and 10 deletions
......@@ -6,12 +6,7 @@ name=input("请输入你的账号")
password=input("请输入你的密码")
# 如果用户输入的账号、密码正确,提示登陆成功
if name == username:
print("账号正确")
else:
print("请输入正确的账号")
if password == userpassword:
print("密码正确")
else:
print("请输入正确的密码")
\ No newline at end of file
while True:
if name == username and password == userpassword:
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