Commit 3b8d3488 by BellCodeEditor

save project

parent 370cf254
Showing with 25 additions and 9 deletions
username = "python" # 保存在服务器数据库中的用户账号(正确的账号) user="python"
userpassword = "123456" # 保存在服务器数据库中的用户密码(正确的密码) wx="545564"
hhh=3
# 请用input()实现用户输入账号、密码的功能 while True:
if hhh>0:
sb=input("把你的名字给老子说出来:")
sd=input("把你的密码给老子说出来:")
# 如果用户输入的账号、密码正确,提示登陆成功 hhh=hhh-1
\ No newline at end of file print(sb)
print(sd)
if sb==user and sd==wx:
print("登录成个屁")
break
if sb!=user:
print("密码登录成功")
print("还有"+str(hhh)+"次计划")
continue
if sd!=wx:
print("甘好登录成功")
print("还有"+str(hhh)+"次计划")
continue
else:
input("滚吧你!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!")
exit()
\ 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