Commit a9fcedba by BellCodeEditor

save project

parent 67eef80e
Showing with 10 additions and 7 deletions
username = "python" username = "python"
userpassword = "123456" userpassword = "123456"
name=input("账号名:") while True:
password=input("密码:") name=input("账号名:")
if (username == name and userpassword==password): password=input("密码:")
input("登录成功") if (username == name and userpassword==password):
else: print("登录成功!")
input("登录失败") break
\ No newline at end of file else:
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