Commit 9f10e22e by BellCodeEditor

save project

parent 7734dc9a
Showing with 4 additions and 4 deletions
user = "python" user = "python"
passpord = "123" passpord = "123"
While True:
input_name =input("请输入账号:") input_name =input("请输入账号:")
input_passpord=input("请输入密码:") input_passpord=input("请输入密码:")
while True
if user==input_name and passpord==input_passpord: if user==input_name and passpord==input_passpord:
print("登陆成功:") print("登陆成功:")
break
else : else :
print("登陆失败!请重新输入!") print("登陆失败!请重新输入!")
break
\ 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