Commit 2350cd71 by BellCodeEditor

auto save

parent 289f1f34
Showing with 19 additions and 23 deletions
a=10 # username="abcd"
username="abcd" # while True:
userpassword="147258" # name=input("请输入账号")
while True: # password=input("请输入密码")
if a>0: # if name==username and password==userpassword:
name=input("请输入你的账号") # print("登陆成功")
password=input("请输入你的密码") # break
a-=1 # if name!=
if name==username and password==userpassword:
print("登录成功") # if
break
if name!=username: # print("欢迎")
print("账号错误")
print("温馨提醒,你还有"+str(a)+"次") # num=0
continue # while num<20:
if password!=userpassword: # if num%2==1:
print("密码错误") # print(num)
print("温馨提醒,你还有"+str(a)+"次") # num+=1
else: \ No newline at end of file
print("十次已用完,已锁定!")
exit()
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