Commit 85c896e5 by BellCodeEditor

save project

parent e257ad91
Showing with 5 additions and 3 deletions
...@@ -4,7 +4,9 @@ passpord = "123" ...@@ -4,7 +4,9 @@ passpord = "123"
input_name =input("请输入账号:") input_name =input("请输入账号:")
input_passpord=input("请输入密码:") input_passpord=input("请输入密码:")
if name==input_name and password==input_passpord: while True
if user==input_name and passpord==input_passpord:
print("登陆成功:") print("登陆成功:")
else : else :
print("登陆失败!请重新输入!") print("登陆失败!请重新输入!")
\ No newline at end of file break
\ 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