Commit 789ad883 by BellCodeEditor

save project

parent d0ece00e
Showing with 5 additions and 4 deletions
username = "李索南" # 保存在服务器数据库中的用户账号(正确的账号)
userpassword = "519823357913315041616" # 保存在服务器数据库中的用户密码(正确的密码)
name=input("请输入姓名:")
word=input("请输入密码:")
while True:
name=input("请输入姓名:")
word=input("请输入密码:")
if username==name and userpassword==word:
print("登陆成功")
break
if name!=username:
print("用户名不存在")
if word!=userpassword:
print("欢迎来到贝尔编程")
\ No newline at end of file
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