Commit 3fab368b by BellCodeEditor

save project

parent 7b70f4d4
Showing with 22 additions and 14 deletions
i=2
username="p" username="p"
userpassword="1" userpassword="1"
while True: while True:
name=input("输入账号") if i>0:
pasword= input("输入密码") name=input("输入账号")
if name== username and pasword==userpassword: pasword= input("输入密码")
print("登录") i-=1
break if name== username and pasword==userpassword:
if name != username: print("登录cg")
print("错了") break
if name != username:
continue print("错了")
if pasword!=userpassword: continue
print("cuole") if pasword!=userpassword:
print("对") print("cuole")
\ No newline at end of file print()
print("对")
else:
print("次数到达")
exit()
print("chengggonmg")
\ 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