Commit dd729e66 by BellCodeEditor

save project

parent 98fa8e73
Showing with 6 additions and 4 deletions
user = "25041" user = "342356577"
passpord = "123" passpord = "54678"
while True: while True:
input_name =input("请输入账号:") input_name =input("请输入账号:")
input_passpord=input("请输入密码:") input_passpord=input("请输入密码:")
...@@ -7,7 +7,8 @@ while True: ...@@ -7,7 +7,8 @@ while True:
if user==input_name and passpord==input_passpord: if user==input_name and passpord==input_passpord:
print("登陆成功:") print("登陆成功:")
break break
else : if user!=input_name:
print("登陆失败!请重新输入!") print("登陆失败!请重新输入!")
if password!=input_password:
print("密码错误!")
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