Commit ea77164c by BellCodeEditor

save project

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