Commit 0a6859b9 by BellCodeEditor

save project

parent b98f6fe4
Showing with 5 additions and 5 deletions
...@@ -8,9 +8,9 @@ m=input("密码") ...@@ -8,9 +8,9 @@ m=input("密码")
# 如果用户输入的账号、密码正确,提示登陆成功 # 如果用户输入的账号、密码正确,提示登陆成功
while True while True:
if username==y and userpassword==m: if username==y and userpassword==m:
print("登录成功") print("登录成功")
break break
else:
print("用户名或密码错误") print("欢迎")
\ No newline at end of file \ 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