Commit ea77164c by BellCodeEditor

save project

parent 867465b5
Showing with 9 additions and 6 deletions
username="python" username="python"
userpassword="123456" userpassword="123456"
e1=input("账号:") while True:
e2=input("密码:") e1=input("账号:")
if e1 == username and e2 == userpassword: e2=input("密码:")
print("账号密码错误!") if e1 == username and e2 == userpassword:
else: print("登录成功")
print("登陆成功!") break
else:
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