Commit c96c8cc2 by BellCodeEditor

save project

parent 168e1b28
Showing with 15 additions and 11 deletions
i=3
username = "python" # 保存在服务器数据库中的用户账号(正确的账号) username = "python" # 保存在服务器数据库中的用户账号(正确的账号)
userpassword = "123456" # 保存在服务器数据库中的用户密码(正确的密码) userpassword = "123456" # 保存在服务器数据库中的用户密码(正确的密码)
while True: while True:
name=input("请输入调查v地方") if i > 0:
password=input("计划经济比较")# 请用input()实现用户输入账号、密码的功能 name=input("请输入调查v地方")
password=input("计划经济比较")# 请用input()实现用户输入账号、密码的功能
i-=1
if name == username and password == username:
if name == username and password == username: print("成功")
print("成功") elif name!=username:
elif name!=username: print("uihuihi")
print("uihuihi")
elif password!=userpassword:
elif password!=userpassword: print("GYTY")
print("GYTY") exit()
print("gygygytg") print("gygygytg")
\ 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