Commit 1a75ffeb by BellCodeEditor

save project

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