Commit 98373ce9 by BellCodeEditor

save project

parent c72ce44a
Showing with 7 additions and 5 deletions
username = "python" # 保存在服务器数据库中的用户账号(正确的账号)
userpassword = "123456" # 保存在服务器数据库中的用户密码(正确的密码)
n=input("请输入账号名称")
m=input("请输入账号密码")
if n==username and m==userpassword:
print("登陆成功")
else:
print("登陆失败")
\ No newline at end of file
while n!=username and m!=username:
if n==username and m==userpassword:
print("登陆成功")
else:
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