Commit 1b382329 by BellCodeEditor

save project

parent 12539a2e
Showing with 9 additions and 7 deletions
username = "python" # 保存在服务器数据库中的用户账号(正确的账号) username = "python" # 保存在服务器数据库中的用户账号(正确的账号)
userpassword = "71md" # 保存在服务器数据库中的用户密码(正确的密shu userpassword = "71md" # 保存在服务器数据库中的用户密码(正确的密shu
a = input("请输入账号")
b = input("请输入密码") while True:
if a ==username and b ==userpassword: a = input("请输入账号")
print("登录成功") b = input("请输入密码")
else: if a ==username and b ==userpassword:
print("输入错误,请重试") print("登录成功")
\ No newline at end of file break
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