Commit 3fab368b by BellCodeEditor

save project

parent 7b70f4d4
Showing with 12 additions and 3 deletions
i=2
username="p" username="p"
userpassword="1" userpassword="1"
while True: while True:
if i>0:
name=input("输入账号") name=input("输入账号")
pasword= input("输入密码") pasword= input("输入密码")
i-=1
if name== username and pasword==userpassword: if name== username and pasword==userpassword:
print("登录") print("登录cg")
break break
if name != username: if name != username:
print("错了") print("错了")
continue continue
if pasword!=userpassword: if pasword!=userpassword:
print("cuole") print("cuole")
print()
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